Package org.w3._2001.schema
Interface SimpleType
-
- All Known Subinterfaces:
LocalSimpleType
,TopLevelSimpleType
- All Known Implementing Classes:
LocalSimpleTypeImpl
,SimpleTypeImpl
,TopLevelSimpleTypeImpl
public interface SimpleType extends Annotated
A representation of the model object 'Simple Type'.The following features are supported:
- See Also:
SchemaPackage.getSimpleType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getFinal()
Returns the value of the 'Final' attribute.ListType
getList()
Returns the value of the 'List' containment reference.String
getName()
Returns the value of the 'Name' attribute.RestrictionType1
getRestriction()
Returns the value of the 'Restriction' containment reference.UnionType
getUnion()
Returns the value of the 'Union' containment reference.void
setFinal(Object value)
Sets the value of the 'Final
' attribute.void
setList(ListType value)
Sets the value of the 'List
' containment reference.void
setName(String value)
Sets the value of the 'Name
' attribute.void
setRestriction(RestrictionType1 value)
Sets the value of the 'Restriction
' containment reference.void
setUnion(UnionType value)
Sets the value of the 'Union
' containment reference.-
Methods inherited from interface Annotated
getAnnotation, getId, setAnnotation, setId
-
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
-
getRestriction
RestrictionType1 getRestriction()
Returns the value of the 'Restriction' containment reference.- Returns:
- the value of the 'Restriction' containment reference.
- See Also:
setRestriction(RestrictionType1)
,SchemaPackage.getSimpleType_Restriction()
-
setRestriction
void setRestriction(RestrictionType1 value)
Sets the value of the 'Restriction
' containment reference.- Parameters:
value
- the new value of the 'Restriction' containment reference.- See Also:
getRestriction()
-
getList
ListType getList()
Returns the value of the 'List' containment reference.- Returns:
- the value of the 'List' containment reference.
- See Also:
setList(ListType)
,SchemaPackage.getSimpleType_List()
-
setList
void setList(ListType value)
Sets the value of the 'List
' containment reference.- Parameters:
value
- the new value of the 'List' containment reference.- See Also:
getList()
-
getUnion
UnionType getUnion()
Returns the value of the 'Union' containment reference.- Returns:
- the value of the 'Union' containment reference.
- See Also:
setUnion(UnionType)
,SchemaPackage.getSimpleType_Union()
-
setUnion
void setUnion(UnionType value)
Sets the value of the 'Union
' containment reference.- Parameters:
value
- the new value of the 'Union' containment reference.- See Also:
getUnion()
-
getFinal
Object getFinal()
Returns the value of the 'Final' attribute.- Returns:
- the value of the 'Final' attribute.
- See Also:
setFinal(Object)
,SchemaPackage.getSimpleType_Final()
-
setFinal
void setFinal(Object value)
Sets the value of the 'Final
' attribute.- Parameters:
value
- the new value of the 'Final' attribute.- See Also:
getFinal()
-
getName
String getName()
Returns the value of the 'Name' attribute. Can be restricted to required or forbidden- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String)
,SchemaPackage.getSimpleType_Name()
-
-