public enum ReferenceType extends java.lang.Enum<ReferenceType>
Modifier and Type | Method and Description |
---|---|
java.util.Set<ReferenceType> |
getAllSubTypes()
Returns an unmodifiable set of all descendents of this ReferenceType
|
java.lang.String |
getBrowseName() |
java.lang.String |
getInverseName() |
NodeId |
getNodeId()
Returns the node id for this reference type.
|
java.util.Set<ReferenceType> |
getSubTypes()
Returns an unmodifiable set of this ReferenceType's immediate subtypes
|
ReferenceType |
getSuperType() |
boolean |
isAbstract() |
boolean |
isSubtypeOf(ReferenceType type)
Detects if this ReferenceType is a subtype of another.
|
boolean |
isSupertypeOf(ReferenceType type)
Detects if this ReferenceType is a supertype of another.
|
static ReferenceType |
lookupByNodeId(NodeId id)
Returns the ReferenceTypes that corresponds to the given NodeId.
|
static ReferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceType References
public static final ReferenceType NonHierarchicalReferences
public static final ReferenceType HierarchicalReferences
public static final ReferenceType HasChild
public static final ReferenceType Organizes
public static final ReferenceType HasEventSource
public static final ReferenceType HasModellingRule
public static final ReferenceType HasEncoding
public static final ReferenceType HasDescription
public static final ReferenceType HasTypeDefinition
public static final ReferenceType GeneratesEvent
public static final ReferenceType GeneratesAuditEvent
public static final ReferenceType ExposesItsArray
public static final ReferenceType Aggregates
public static final ReferenceType HasSubtype
public static final ReferenceType HasProperty
public static final ReferenceType HasComponent
public static final ReferenceType HasNotifier
public static final ReferenceType HasOrderedComponent
public static final ReferenceType HasModelParent
public static final ReferenceType FromState
public static final ReferenceType ToState
public static final ReferenceType HasCause
public static final ReferenceType HasEffect
public static final ReferenceType HasParentState
public static final ReferenceType HasHistoricalConfiguration
public static final ReferenceType HasHistoricalEventConfiguration
public static ReferenceType[] values()
for (ReferenceType c : ReferenceType.values()) System.out.println(c);
public static ReferenceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ReferenceType lookupByNodeId(NodeId id)
public java.lang.String getBrowseName()
public boolean isAbstract()
public java.lang.String getInverseName()
public ReferenceType getSuperType()
public java.util.Set<ReferenceType> getSubTypes()
public java.util.Set<ReferenceType> getAllSubTypes()
public boolean isSupertypeOf(ReferenceType type)
type
- The ReferenceType to check if this referenceType is a supertype ofpublic boolean isSubtypeOf(ReferenceType type)
type
- public NodeId getNodeId()