org.omg.model1.jmi1
Interface EnumerationType
- All Superinterfaces:
- BasicObject, Classifier, ContextCapable, Datatype, Element, EnumerationType, ExtentCapable, GeneralizableElement, Namespace, RefBaseObject, RefFeatured, RefObject, ViewCapable
public interface EnumerationType
- extends EnumerationType, Datatype
Class EnumerationType
getCompositeReference
Reference getCompositeReference()
- Retrieves the value for the reference
compositeReference.
- Specified by:
getCompositeReference in interface Classifier
- Returns:
- The – possibly
null – value for this reference.
getContainer
Namespace getContainer()
- Retrieves the value for the reference
container.
- Specified by:
getContainer in interface Element
- Returns:
- The – possibly
null – value for this reference.
setContainer
void setContainer(Namespace container)
- Sets a new value for the reference
container.
- Specified by:
setContainer in interface Element
- Parameters:
container - The non-null new value for this reference.
removeContainer
void removeContainer()
- Removes the value for the optional reference
container.
getSegment
Segment getSegment()
- Retrieves the value for the reference
segment.
- Specified by:
getSegment in interface Element
- Returns:
- The non-
null value for this reference.
getLabel
String getLabel(int index)
- Returns:
- An element of this attribute.
getAllNamespaceContent
<T extends Element> List<T> getAllNamespaceContent(ElementQuery query)
- Retrieves the value for the reference
allNamespaceContent
for the specified query.
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getNamespaceContent
<T extends Element> List<T> getNamespaceContent(ElementQuery query)
- Retrieves the value for the reference
namespaceContent for
the specified query.
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getView
<T extends View> List<T> getView(ViewQuery query)
- Retrieves the value for the reference
view for the
specified query.
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.