|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A representation of the model object 'Feature'.
It is used to represent aspects common to
'Element Declarations' and
'Attribute Declaration'.
The following features are supported:
XSDPackage.getXSDFeature()| Field Summary | |
static java.lang.String |
copyright
|
| Fields inherited from interface com.ibm.etools.emf.notify.Notifier |
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET |
| Method Summary | |
com.ibm.etools.emf.ecore.EClass |
eClassXSDFeature()
Returns the meta class of XSDFeature. |
java.lang.Integer |
getConstraint()
Returns the Integer value of the ' Constraint' attribute. |
java.lang.Boolean |
getFeatureReference()
Returns the value of the 'Feature Reference' attribute. |
java.lang.Integer |
getForm()
Returns the Integer value of the ' Form' attribute. |
java.lang.Boolean |
getGlobal()
Returns the value of the 'Global' attribute. |
java.lang.String |
getLexicalValue()
Returns the value of the 'Lexical Value' attribute. |
com.ibm.etools.emf.ecore.EEnumLiteral |
getLiteralConstraint()
Returns the value of the 'Constraint' attribute. |
com.ibm.etools.emf.ecore.EEnumLiteral |
getLiteralForm()
Returns the value of the 'Form' attribute. |
XSDFeature |
getResolvedFeature()
Returns the value of the 'Resolved Feature' reference. |
XSDScope |
getScope()
Returns the value of the 'Scope' reference. |
java.lang.String |
getStringConstraint()
Returns the String value of the ' Constraint' attribute. |
java.lang.String |
getStringForm()
Returns the String value of the ' Form' attribute. |
XSDTypeDefinition |
getType()
Returns the value of the 'Type' reference. |
java.lang.Object |
getValue()
Returns the value of the 'Value' attribute. |
int |
getValueConstraint()
Returns the primitive value of the ' Constraint' attribute. |
int |
getValueForm()
Returns the primitive value of the ' Form' attribute. |
boolean |
isFeatureReference()
Returns whether the object is ' Feature Reference'. |
boolean |
isGlobal()
Returns whether the object is ' Global'. |
boolean |
isSetConstraint()
Returns whether the value of the ' Constraint' attribute is set. |
boolean |
isSetForm()
Returns whether the value of the ' Form' attribute is set. |
boolean |
isSetLexicalValue()
Returns whether the value of the ' Lexical Value' attribute is set. |
boolean |
isSetValue()
Returns whether the value of the ' Value' attribute is set. |
void |
setConstraint(com.ibm.etools.emf.ecore.EEnumLiteral value)
Sets the value of the ' Constraint' attribute. |
void |
setConstraint(int value)
Sets the value of the ' Constraint' attribute. |
void |
setConstraint(java.lang.Integer value)
Sets the value of the ' Constraint' attribute. |
void |
setConstraint(java.lang.String value)
Sets the value of the ' Constraint' attribute. |
void |
setForm(com.ibm.etools.emf.ecore.EEnumLiteral value)
Sets the value of the ' Form' attribute. |
void |
setForm(int value)
Sets the value of the ' Form' attribute. |
void |
setForm(java.lang.Integer value)
Sets the value of the ' Form' attribute. |
void |
setForm(java.lang.String value)
Sets the value of the ' Form' attribute. |
void |
setLexicalValue(java.lang.String value)
Sets the value of the ' Lexical Value' attribute. |
void |
setValue(java.lang.Object value)
Sets the value of the ' Value' attribute. |
void |
unsetConstraint()
Unsets the value of the ' Constraint' attribute. |
void |
unsetForm()
Unsets the value of the ' Form' attribute. |
void |
unsetLexicalValue()
Unsets the value of the ' Lexical Value' attribute. |
void |
unsetValue()
Unsets the value of the ' Value' attribute. |
| Methods inherited from interface com.ibm.etools.xsd.XSDNamedComponent |
eClassXSDNamedComponent, getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, isSetName, isSetTargetNamespace, setName, setTargetNamespace, unsetName, unsetTargetNamespace |
| Methods inherited from interface com.ibm.etools.xsd.XSDComponent |
eClassXSDComponent |
| Methods inherited from interface com.ibm.etools.emf.ref.RefObject |
initInstance, refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refIsSet, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner, refSetValue, refUnsetValue, refValue |
| Methods inherited from interface com.ibm.etools.emf.ref.RefBaseObject |
metaObject, refAttributes, refContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContains, refContainsExtent, refContainsNested, refDelete, refExtent, refID, refImmediatePackage, refIsContainer, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refRemoveContent, refResource, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetUUID, refSetUUID, refSetUUID |
| Methods inherited from interface com.ibm.etools.emf.notify.Notifier |
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll |
| Methods inherited from interface com.ibm.etools.emf.resource.ResourceSetReference |
getResourceSet |
| Field Detail |
public static final java.lang.String copyright
| Method Detail |
public com.ibm.etools.emf.ecore.EClass eClassXSDFeature()
XSDFeature.
XSDPackage.getXSDFeature(),
XSDConcreteComponent.ePackageXSD()public java.lang.Object getValue()
This represents the value of the
attribute value constraint or
element value constraint
infoset property.
It is computed from the lexical value and should typically not be set directly.
isSetValue(),
unsetValue(),
setValue(java.lang.Object),
XSDPackage.getXSDFeature_Value()public void setValue(java.lang.Object value)
Value' attribute.
value - the new value of the 'Value' attribute.isSetValue(),
unsetValue(),
getValue()public void unsetValue()
Value' attribute.
isSetValue(),
getValue(),
setValue(java.lang.Object)public boolean isSetValue()
Value' attribute is set.
unsetValue(),
getValue(),
setValue(java.lang.Object)public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralConstraint()
XSDConstraint.
This represents the constraint of the attribute value constraint or element value constraint infoset property.
getValueConstraint(),
getConstraint(),
getStringConstraint(),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
setConstraint(EEnumLiteral),
XSDPackage.getXSDFeature_Constraint()public int getValueConstraint()
Constraint' attribute.
getLiteralConstraint(),
getValueConstraint(),
getStringConstraint(),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
setConstraint(int)public java.lang.String getStringConstraint()
Constraint' attribute.
getLiteralConstraint(),
getConstraint(),
getValueConstraint(),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
setConstraint(String)public java.lang.Integer getConstraint()
Constraint' attribute.
getLiteralConstraint(),
getValueConstraint(),
getStringConstraint(),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
setConstraint(Integer)
public void setConstraint(com.ibm.etools.emf.ecore.EEnumLiteral value)
throws com.ibm.etools.emf.ref.EnumerationException
Constraint' attribute.
value - the new value of the 'Constraint' attribute.setConstraint(int),
setConstraint(Integer),
setConstraint(String),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
getLiteralConstraint()
public void setConstraint(int value)
throws com.ibm.etools.emf.ref.EnumerationException
Constraint' attribute.
value - the int value of the new enumeration literal value of the 'Constraint' attribute.setConstraint(EEnumLiteral),
setConstraint(Integer),
setConstraint(String),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
getValueConstraint()
public void setConstraint(java.lang.String value)
throws com.ibm.etools.emf.ref.EnumerationException
Constraint' attribute.
value - the String value of the new enumeration literal value of the 'Constraint' attribute.setConstraint(EEnumLiteral),
setConstraint(int),
setConstraint(Integer),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
getStringConstraint()
public void setConstraint(java.lang.Integer value)
throws com.ibm.etools.emf.ref.EnumerationException
Constraint' attribute.
value - the Integer value of the new enumeration literal value of the 'Constraint' attribute.setConstraint(EEnumLiteral),
setConstraint(int),
setConstraint(String),
XSDConstraint,
isSetConstraint(),
unsetConstraint(),
getValueConstraint()public void unsetConstraint()
Constraint' attribute.
isSetConstraint(),
getLiteralConstraint(),
setConstraint(EEnumLiteral)public boolean isSetConstraint()
Constraint' attribute is set.
unsetConstraint(),
getLiteralConstraint(),
setConstraint(EEnumLiteral)public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralForm()
XSDForm.
This concrete attribute represents the value of the
attribute form attribute or the
element form attribute.
It, along with the
attribute form default and
element form default of the schema,
affects the target namespace of locally scoped features.
XSDSchema.getAttributeFormDefault(),
XSDSchema.getElementFormDefault(),
getValueForm(),
getForm(),
getStringForm(),
XSDForm,
isSetForm(),
unsetForm(),
setForm(EEnumLiteral),
XSDPackage.getXSDFeature_Form()public int getValueForm()
Form' attribute.
getLiteralForm(),
getValueForm(),
getStringForm(),
XSDForm,
isSetForm(),
unsetForm(),
setForm(int)public java.lang.String getStringForm()
Form' attribute.
getLiteralForm(),
getForm(),
getValueForm(),
XSDForm,
isSetForm(),
unsetForm(),
setForm(String)public java.lang.Integer getForm()
Form' attribute.
getLiteralForm(),
getValueForm(),
getStringForm(),
XSDForm,
isSetForm(),
unsetForm(),
setForm(Integer)
public void setForm(com.ibm.etools.emf.ecore.EEnumLiteral value)
throws com.ibm.etools.emf.ref.EnumerationException
Form' attribute.
value - the new value of the 'Form' attribute.setForm(int),
setForm(Integer),
setForm(String),
XSDForm,
isSetForm(),
unsetForm(),
getLiteralForm()
public void setForm(int value)
throws com.ibm.etools.emf.ref.EnumerationException
Form' attribute.
value - the int value of the new enumeration literal value of the 'Form' attribute.setForm(EEnumLiteral),
setForm(Integer),
setForm(String),
XSDForm,
isSetForm(),
unsetForm(),
getValueForm()
public void setForm(java.lang.String value)
throws com.ibm.etools.emf.ref.EnumerationException
Form' attribute.
value - the String value of the new enumeration literal value of the 'Form' attribute.setForm(EEnumLiteral),
setForm(int),
setForm(Integer),
XSDForm,
isSetForm(),
unsetForm(),
getStringForm()
public void setForm(java.lang.Integer value)
throws com.ibm.etools.emf.ref.EnumerationException
Form' attribute.
value - the Integer value of the new enumeration literal value of the 'Form' attribute.setForm(EEnumLiteral),
setForm(int),
setForm(String),
XSDForm,
isSetForm(),
unsetForm(),
getValueForm()public void unsetForm()
Form' attribute.
isSetForm(),
getLiteralForm(),
setForm(EEnumLiteral)public boolean isSetForm()
Form' attribute is set.
unsetForm(),
getLiteralForm(),
setForm(EEnumLiteral)public java.lang.String getLexicalValue()
This concrete attribute represents the value of the attribute fixed or default attribute or the element fixed or default attribute.
isSetLexicalValue(),
unsetLexicalValue(),
setLexicalValue(String),
XSDPackage.getXSDFeature_LexicalValue()public void setLexicalValue(java.lang.String value)
Lexical Value' attribute.
value - the new value of the 'Lexical Value' attribute.isSetLexicalValue(),
unsetLexicalValue(),
getLexicalValue()public void unsetLexicalValue()
Lexical Value' attribute.
isSetLexicalValue(),
getLexicalValue(),
setLexicalValue(String)public boolean isSetLexicalValue()
Lexical Value' attribute is set.
unsetLexicalValue(),
getLexicalValue(),
setLexicalValue(String)public java.lang.Boolean getGlobal()
This indicates whether the feature is globally scoped.
Its value is false if the feature is declared within
a complex type definition,
an attribute group definition,
or a model group definition.
isGlobal(),
XSDPackage.getXSDFeature_Global()public boolean isGlobal()
Global'.
getGlobal()public java.lang.Boolean getFeatureReference()
This is the same result as either
the 'Element Reference' attribute or
the 'Attribute Reference' attribute.
isFeatureReference(),
XSDPackage.getXSDFeature_FeatureReference()public boolean isFeatureReference()
Feature Reference'.
getFeatureReference()public XSDScope getScope()
This represents the attribute scope or element scope infoset property.
XSDPackage.getXSDFeature_Scope()public XSDTypeDefinition getType()
This is the same result as either
the element 'Type Definition' reference or
the attribute 'Type Definition' reference.
XSDPackage.getXSDFeature_Type()public XSDFeature getResolvedFeature()
This is the same result as either
the 'Resolved Element Declaration' reference or
the 'Resolved Attribute Declaration' reference.
XSDPackage.getXSDFeature_ResolvedFeature()
|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||