Interface SchemaType
-
- All Superinterfaces:
EObject
,Notifier
,OpenAttrs
- All Known Implementing Classes:
SchemaTypeImpl
public interface SchemaType extends OpenAttrs
A representation of the model object 'Type'.The following features are supported:
- See Also:
SchemaPackage.getSchemaType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList<AnnotationType>
getAnnotation()
Returns the value of the 'Annotation' containment reference list.EList<AnnotationType>
getAnnotation1()
Returns the value of the 'Annotation1' containment reference list.EList<TopLevelAttribute>
getAttribute()
Returns the value of the 'Attribute' containment reference list.FormChoice
getAttributeFormDefault()
Returns the value of the 'Attribute Form Default' attribute.EList<NamedAttributeGroup>
getAttributeGroup()
Returns the value of the 'Attribute Group' containment reference list.Object
getBlockDefault()
Returns the value of the 'Block Default' attribute.EList<TopLevelComplexType>
getComplexType()
Returns the value of the 'Complex Type' containment reference list.EList<TopLevelElement>
getElement()
Returns the value of the 'Element' containment reference list.FormChoice
getElementFormDefault()
Returns the value of the 'Element Form Default' attribute.Object
getFinalDefault()
Returns the value of the 'Final Default' attribute.FeatureMap
getGroup()
Returns the value of the 'Group' attribute list.FeatureMap
getGroup1()
Returns the value of the 'Group1' attribute list.EList<NamedGroup>
getGroup2()
Returns the value of the 'Group2' containment reference list.String
getId()
Returns the value of the 'Id' attribute.EList<ImportType>
getImport()
Returns the value of the 'Import' containment reference list.EList<IncludeType>
getInclude()
Returns the value of the 'Include' containment reference list.String
getLang()
Returns the value of the 'Lang' attribute.EList<NotationType>
getNotation()
Returns the value of the 'Notation' containment reference list.EList<RedefineType>
getRedefine()
Returns the value of the 'Redefine' containment reference list.EList<TopLevelSimpleType>
getSimpleType()
Returns the value of the 'Simple Type' containment reference list.String
getTargetNamespace()
Returns the value of the 'Target Namespace' attribute.String
getVersion()
Returns the value of the 'Version' attribute.boolean
isSetAttributeFormDefault()
Returns whether the value of the 'Attribute Form Default
' attribute is set.boolean
isSetBlockDefault()
Returns whether the value of the 'Block Default
' attribute is set.boolean
isSetElementFormDefault()
Returns whether the value of the 'Element Form Default
' attribute is set.boolean
isSetFinalDefault()
Returns whether the value of the 'Final Default
' attribute is set.void
setAttributeFormDefault(FormChoice value)
Sets the value of the 'Attribute Form Default
' attribute.void
setBlockDefault(Object value)
Sets the value of the 'Block Default
' attribute.void
setElementFormDefault(FormChoice value)
Sets the value of the 'Element Form Default
' attribute.void
setFinalDefault(Object value)
Sets the value of the 'Final Default
' attribute.void
setId(String value)
Sets the value of the 'Id
' attribute.void
setLang(String value)
Sets the value of the 'Lang
' attribute.void
setTargetNamespace(String value)
Sets the value of the 'Target Namespace
' attribute.void
setVersion(String value)
Sets the value of the 'Version
' attribute.void
unsetAttributeFormDefault()
Unsets the value of the 'Attribute Form Default
' attribute.void
unsetBlockDefault()
Unsets the value of the 'Block Default
' attribute.void
unsetElementFormDefault()
Unsets the value of the 'Element Form Default
' attribute.void
unsetFinalDefault()
Unsets the value of the 'Final Default
' attribute.-
Methods inherited from interface EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface OpenAttrs
getAnyAttribute
-
-
-
-
Method Detail
-
getGroup
FeatureMap getGroup()
Returns the value of the 'Group' attribute list. The list contents are of typeFeatureMap.Entry
.- Returns:
- the value of the 'Group' attribute list.
- See Also:
SchemaPackage.getSchemaType_Group()
-
getInclude
EList<IncludeType> getInclude()
Returns the value of the 'Include' containment reference list. The list contents are of typeIncludeType
.- Returns:
- the value of the 'Include' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Include()
-
getImport
EList<ImportType> getImport()
Returns the value of the 'Import' containment reference list. The list contents are of typeImportType
.- Returns:
- the value of the 'Import' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Import()
-
getRedefine
EList<RedefineType> getRedefine()
Returns the value of the 'Redefine' containment reference list. The list contents are of typeRedefineType
.- Returns:
- the value of the 'Redefine' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Redefine()
-
getAnnotation
EList<AnnotationType> getAnnotation()
Returns the value of the 'Annotation' containment reference list. The list contents are of typeAnnotationType
.- Returns:
- the value of the 'Annotation' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Annotation()
-
getGroup1
FeatureMap getGroup1()
Returns the value of the 'Group1' attribute list. The list contents are of typeFeatureMap.Entry
.- Returns:
- the value of the 'Group1' attribute list.
- See Also:
SchemaPackage.getSchemaType_Group1()
-
getSimpleType
EList<TopLevelSimpleType> getSimpleType()
Returns the value of the 'Simple Type' containment reference list. The list contents are of typeTopLevelSimpleType
.- Returns:
- the value of the 'Simple Type' containment reference list.
- See Also:
SchemaPackage.getSchemaType_SimpleType()
-
getComplexType
EList<TopLevelComplexType> getComplexType()
Returns the value of the 'Complex Type' containment reference list. The list contents are of typeTopLevelComplexType
.- Returns:
- the value of the 'Complex Type' containment reference list.
- See Also:
SchemaPackage.getSchemaType_ComplexType()
-
getGroup2
EList<NamedGroup> getGroup2()
Returns the value of the 'Group2' containment reference list. The list contents are of typeNamedGroup
.- Returns:
- the value of the 'Group2' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Group2()
-
getAttributeGroup
EList<NamedAttributeGroup> getAttributeGroup()
Returns the value of the 'Attribute Group' containment reference list. The list contents are of typeNamedAttributeGroup
.- Returns:
- the value of the 'Attribute Group' containment reference list.
- See Also:
SchemaPackage.getSchemaType_AttributeGroup()
-
getElement
EList<TopLevelElement> getElement()
Returns the value of the 'Element' containment reference list. The list contents are of typeTopLevelElement
.- Returns:
- the value of the 'Element' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Element()
-
getAttribute
EList<TopLevelAttribute> getAttribute()
Returns the value of the 'Attribute' containment reference list. The list contents are of typeTopLevelAttribute
.- Returns:
- the value of the 'Attribute' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Attribute()
-
getNotation
EList<NotationType> getNotation()
Returns the value of the 'Notation' containment reference list. The list contents are of typeNotationType
.- Returns:
- the value of the 'Notation' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Notation()
-
getAnnotation1
EList<AnnotationType> getAnnotation1()
Returns the value of the 'Annotation1' containment reference list. The list contents are of typeAnnotationType
.- Returns:
- the value of the 'Annotation1' containment reference list.
- See Also:
SchemaPackage.getSchemaType_Annotation1()
-
getAttributeFormDefault
FormChoice getAttributeFormDefault()
Returns the value of the 'Attribute Form Default' attribute. The default value is"unqualified"
. The literals are from the enumerationFormChoice
.- Returns:
- the value of the 'Attribute Form Default' attribute.
- See Also:
FormChoice
,isSetAttributeFormDefault()
,unsetAttributeFormDefault()
,setAttributeFormDefault(FormChoice)
,SchemaPackage.getSchemaType_AttributeFormDefault()
-
setAttributeFormDefault
void setAttributeFormDefault(FormChoice value)
Sets the value of the 'Attribute Form Default
' attribute.- Parameters:
value
- the new value of the 'Attribute Form Default' attribute.- See Also:
FormChoice
,isSetAttributeFormDefault()
,unsetAttributeFormDefault()
,getAttributeFormDefault()
-
unsetAttributeFormDefault
void unsetAttributeFormDefault()
Unsets the value of the 'Attribute Form Default
' attribute.
-
isSetAttributeFormDefault
boolean isSetAttributeFormDefault()
Returns whether the value of the 'Attribute Form Default
' attribute is set.- Returns:
- whether the value of the 'Attribute Form Default' attribute is set.
- See Also:
unsetAttributeFormDefault()
,getAttributeFormDefault()
,setAttributeFormDefault(FormChoice)
-
getBlockDefault
Object getBlockDefault()
Returns the value of the 'Block Default' attribute. The default value is""
.- Returns:
- the value of the 'Block Default' attribute.
- See Also:
isSetBlockDefault()
,unsetBlockDefault()
,setBlockDefault(Object)
,SchemaPackage.getSchemaType_BlockDefault()
-
setBlockDefault
void setBlockDefault(Object value)
Sets the value of the 'Block Default
' attribute.- Parameters:
value
- the new value of the 'Block Default' attribute.- See Also:
isSetBlockDefault()
,unsetBlockDefault()
,getBlockDefault()
-
unsetBlockDefault
void unsetBlockDefault()
Unsets the value of the 'Block Default
' attribute.
-
isSetBlockDefault
boolean isSetBlockDefault()
Returns whether the value of the 'Block Default
' attribute is set.- Returns:
- whether the value of the 'Block Default' attribute is set.
- See Also:
unsetBlockDefault()
,getBlockDefault()
,setBlockDefault(Object)
-
getElementFormDefault
FormChoice getElementFormDefault()
Returns the value of the 'Element Form Default' attribute. The default value is"unqualified"
. The literals are from the enumerationFormChoice
.- Returns:
- the value of the 'Element Form Default' attribute.
- See Also:
FormChoice
,isSetElementFormDefault()
,unsetElementFormDefault()
,setElementFormDefault(FormChoice)
,SchemaPackage.getSchemaType_ElementFormDefault()
-
setElementFormDefault
void setElementFormDefault(FormChoice value)
Sets the value of the 'Element Form Default
' attribute.- Parameters:
value
- the new value of the 'Element Form Default' attribute.- See Also:
FormChoice
,isSetElementFormDefault()
,unsetElementFormDefault()
,getElementFormDefault()
-
unsetElementFormDefault
void unsetElementFormDefault()
Unsets the value of the 'Element Form Default
' attribute.
-
isSetElementFormDefault
boolean isSetElementFormDefault()
Returns whether the value of the 'Element Form Default
' attribute is set.- Returns:
- whether the value of the 'Element Form Default' attribute is set.
- See Also:
unsetElementFormDefault()
,getElementFormDefault()
,setElementFormDefault(FormChoice)
-
getFinalDefault
Object getFinalDefault()
Returns the value of the 'Final Default' attribute. The default value is""
.- Returns:
- the value of the 'Final Default' attribute.
- See Also:
isSetFinalDefault()
,unsetFinalDefault()
,setFinalDefault(Object)
,SchemaPackage.getSchemaType_FinalDefault()
-
setFinalDefault
void setFinalDefault(Object value)
Sets the value of the 'Final Default
' attribute.- Parameters:
value
- the new value of the 'Final Default' attribute.- See Also:
isSetFinalDefault()
,unsetFinalDefault()
,getFinalDefault()
-
unsetFinalDefault
void unsetFinalDefault()
Unsets the value of the 'Final Default
' attribute.
-
isSetFinalDefault
boolean isSetFinalDefault()
Returns whether the value of the 'Final Default
' attribute is set.- Returns:
- whether the value of the 'Final Default' attribute is set.
- See Also:
unsetFinalDefault()
,getFinalDefault()
,setFinalDefault(Object)
-
getId
String getId()
Returns the value of the 'Id' attribute.- Returns:
- the value of the 'Id' attribute.
- See Also:
setId(String)
,SchemaPackage.getSchemaType_Id()
-
setId
void setId(String value)
Sets the value of the 'Id
' attribute.- Parameters:
value
- the new value of the 'Id' attribute.- See Also:
getId()
-
getLang
String getLang()
Returns the value of the 'Lang' attribute.lang (as an attribute name)
denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. This name is reserved by virtue of its definition in the XML specification.
Notes
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility.
See BCP 47 at http://www.rfc-editor.org/rfc/bcp/bcp47.txt and the IANA language subtag registry at http://www.iana.org/assignments/language-subtag-registry for further information.
The union allows for the 'un-declaration' of xml:lang with the empty string.
- Returns:
- the value of the 'Lang' attribute.
- See Also:
setLang(String)
,SchemaPackage.getSchemaType_Lang()
-
setLang
void setLang(String value)
Sets the value of the 'Lang
' attribute.- Parameters:
value
- the new value of the 'Lang' attribute.- See Also:
getLang()
-
getTargetNamespace
String getTargetNamespace()
Returns the value of the 'Target Namespace' attribute.- Returns:
- the value of the 'Target Namespace' attribute.
- See Also:
setTargetNamespace(String)
,SchemaPackage.getSchemaType_TargetNamespace()
-
setTargetNamespace
void setTargetNamespace(String value)
Sets the value of the 'Target Namespace
' attribute.- Parameters:
value
- the new value of the 'Target Namespace' attribute.- See Also:
getTargetNamespace()
-
getVersion
String getVersion()
Returns the value of the 'Version' attribute.- Returns:
- the value of the 'Version' attribute.
- See Also:
setVersion(String)
,SchemaPackage.getSchemaType_Version()
-
setVersion
void setVersion(String value)
Sets the value of the 'Version
' attribute.- Parameters:
value
- the new value of the 'Version' attribute.- See Also:
getVersion()
-
-