Package org.w3._2001.schema
Interface UnionType
-
- All Known Implementing Classes:
UnionTypeImpl
public interface UnionType extends Annotated
A representation of the model object 'Union Type'. memberTypes attribute must be non-empty or there must be at least one simpleType childThe following features are supported:
- See Also:
SchemaPackage.getUnionType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<QName>
getMemberTypes()
Returns the value of the 'Member Types' attribute.EList<LocalSimpleType>
getSimpleType()
Returns the value of the 'Simple Type' containment reference list.void
setMemberTypes(List<QName> value)
Sets the value of the 'Member Types
' attribute.-
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
-
getSimpleType
EList<LocalSimpleType> getSimpleType()
Returns the value of the 'Simple Type' containment reference list. The list contents are of typeLocalSimpleType
.- Returns:
- the value of the 'Simple Type' containment reference list.
- See Also:
SchemaPackage.getUnionType_SimpleType()
-
getMemberTypes
List<QName> getMemberTypes()
Returns the value of the 'Member Types' attribute.- Returns:
- the value of the 'Member Types' attribute.
- See Also:
setMemberTypes(List)
,SchemaPackage.getUnionType_MemberTypes()
-
setMemberTypes
void setMemberTypes(List<QName> value)
Sets the value of the 'Member Types
' attribute.- Parameters:
value
- the new value of the 'Member Types' attribute.- See Also:
getMemberTypes()
-
-