public class ClassInfoXmi10 extends ClassInfoImpl implements ClassInfo
Modifier and Type | Field and Description |
---|---|
protected Element |
cla |
protected Xmi10Document |
doc |
protected String |
id |
TreeMap<Integer,OperationInfo> |
operations |
protected TreeMap<StructuredNumber,PropertyInfo> |
properties |
protected UUID |
uuid |
category, diagrams, linkedDocument, profiles
descriptors, stereotypesCache, taggedValuesCache
Constructor and Description |
---|
ClassInfoXmi10(Xmi10Document d,
Element e) |
Modifier and Type | Method and Description |
---|---|
ClassInfo |
baseClass()
This determines the particular base class of a class in the sense of
ISO19136 annex D+E.
|
Vector<Constraint> |
constraints()
This method returns the constraints associated with the class.
|
String |
id()
Return unique id of model element (unique within the model).
|
boolean |
isAbstract() |
AssociationInfo |
isAssocClass() |
boolean |
isLeaf() |
Model |
model() |
String |
name()
Obtain the name of the model element.
|
OperationInfo |
operation(String name,
String[] types) |
Options |
options() |
PackageInfo |
pkg() |
TreeMap<StructuredNumber,PropertyInfo> |
properties()
Get a map of all navigable properties (attributes and association roles)
that belong to this class - NOT one of its base classes.
|
PropertyInfo |
property(String name)
Find the property given by its name in this class or (if not present
there) recursively in its base classes.
|
ShapeChangeResult |
result() |
protected Multiplicity |
roseHiddenCardinality() |
protected String |
roseHiddenLabels() |
SortedSet<String> |
subtypes() |
SortedSet<String> |
supertypes()
Provides the ids of all direct base classes of this class (includes the
class that is returned by method
ClassInfo.baseClass() ). |
void |
validateStereotypesCache() |
void |
validateTaggedValuesCache()
Create cache of stereotypes and tagged values
|
asCharacterString, asDictionary, asDictionaryGml33, asGroup, category, checkSupertypes, encodingRule, establishCategory, fixIfCategoryIsUnknown, fullName, fullNameInSchema, getDiagrams, getLinkedDocument, hasConstraint, hasNilReason, includeByValuePropertyType, includePropertyType, inSchema, isCollection, isKindOf, isSubtype, isUnionDirect, language, ns, nsabr, ownedProperty, postprocessAfterLoadingAndValidate, profiles, propertiesAll, qname, setDiagrams, setLinkedDocument, subtypesInCompleteHierarchy, supertypesInCompleteHierarchy, suppressed, unsuppressedSupertype, xmlSchemaType
aliasName, compareTo, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, descriptorSource, descriptorValues, documentation, examples, globalIdentifier, legalBasis, matches, primaryCode, removeTaggedValue, setDescriptors, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asCharacterString, asDictionary, asDictionaryGml33, asGroup, category, checkSupertypes, getDiagrams, getLinkedDocument, hasConstraint, hasNilReason, includeByValuePropertyType, includePropertyType, inSchema, isCollection, isKindOf, isSubtype, isUnionDirect, ownedProperty, profiles, propertiesAll, qname, setDiagrams, setLinkedDocument, subtypesInCompleteHierarchy, supertypesInCompleteHierarchy, suppressed, unsuppressedSupertype, xmlSchemaType
aliasName, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, documentation, encodingRule, examples, fullName, fullNameInSchema, globalIdentifier, language, legalBasis, matches, postprocessAfterLoadingAndValidate, primaryCode, removeTaggedValue, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage
compareTo
protected String id
protected Element cla
protected Xmi10Document doc
protected UUID uuid
protected TreeMap<StructuredNumber,PropertyInfo> properties
public TreeMap<Integer,OperationInfo> operations
public ClassInfoXmi10(Xmi10Document d, Element e) throws ShapeChangeAbortException, ShapeChangeIgnoreClassException
public ShapeChangeResult result()
public String id()
Info
public String name()
Info
protected Multiplicity roseHiddenCardinality()
protected String roseHiddenLabels()
public boolean isAbstract()
isAbstract
in interface ClassInfo
public PackageInfo pkg()
public void validateStereotypesCache()
validateStereotypesCache
in interface Info
public void validateTaggedValuesCache()
Info
validateTaggedValuesCache
in interface Info
public SortedSet<String> supertypes()
ClassInfo
ClassInfo.baseClass()
).supertypes
in interface ClassInfo
public SortedSet<String> subtypes()
subtypes
in interface ClassInfo
null
.public TreeMap<StructuredNumber,PropertyInfo> properties()
ClassInfo
properties
in interface ClassInfo
null
.public PropertyInfo property(String name)
ClassInfo
public ClassInfo baseClass()
ClassInfo
public Vector<Constraint> constraints()
ClassInfo
constraints
in interface ClassInfo
null
public OperationInfo operation(String name, String[] types)
public AssociationInfo isAssocClass()
isAssocClass
in interface ClassInfo
Copyright © 2018. All rights reserved.