public class PropertyInfoXmi10 extends PropertyInfoImpl implements PropertyInfo
Type | Property and Description |
---|---|
PropertyInfo |
reverse |
Modifier and Type | Field and Description |
---|---|
protected boolean |
aliasAccessed
Flag used to prevent duplicate retrieval/computation of the alias of this
class.
|
protected AssociationInfoXmi10 |
associationInfo |
protected boolean |
attribute |
protected ClassInfo |
classInfo |
protected Xmi10Document |
doc |
protected String |
id |
protected Element |
prp |
protected PropertyInfo |
reverseProperty |
protected StructuredNumber |
sequenceNumber |
implementedByNilReason, nilReasonAllowed, profiles, qualifiers, restriction
descriptors, stereotypesCache, taggedValuesCache
GLOBAL_SEQUENCE_NUMBER_START_VALUE_FOR_ASSOCIATIONROLES, GLOBAL_SEQUENCE_NUMBER_START_VALUE_FOR_ATTRIBUTES
Constructor and Description |
---|
PropertyInfoXmi10(Xmi10Document d,
Element e,
AssociationInfoXmi10 ai) |
Modifier and Type | Method and Description |
---|---|
AssociationInfo |
association() |
Multiplicity |
cardinality() |
Vector<Constraint> |
constraints()
This method returns the constraints associated with the property.
|
protected List<LangString> |
descriptorValues(Descriptor descriptor)
Look up the values for the descriptor, using the source as defined by the
configuration (or the default source, if the configuration does not state
anything regarding the source).
|
String |
id()
Return unique id of model element (unique within the model).
|
ClassInfo |
inClass() |
void |
inClass(ClassInfo ci) |
String |
initialValue() |
String |
inlineOrByReference() |
boolean |
isAggregation()
Find out whether this property is an aggregation.
|
boolean |
isAttribute()
Indicate whether this property is an attribute (and not a role)
|
boolean |
isComposition()
Find out whether this property is a composition.
|
boolean |
isDerived()
Find out whether this property is a derived one.
|
boolean |
isNavigable()
Indicate whether the property is navigable.
|
boolean |
isOrdered()
Find out if the property represents an ordered collection.
|
boolean |
isUnique()
Find out if the property allows duplicates in the values or if only
unique values are allowed.
|
Model |
model() |
String |
name()
Obtain the name of the model element.
|
Options |
options() |
ShapeChangeResult |
result() |
PropertyInfo |
reverseProperty() |
StructuredNumber |
sequenceNumber() |
Type |
typeInfo() |
void |
validateStereotypesCache() |
void |
validateTaggedValuesCache()
Create cache of stereotypes and tagged values
|
categoryOfValue, defaultCodeSpace, encodingRule, fullName, fullNameInSchema, getNextNumberForAssociationRoleWithoutExplicitSequenceNumber, getNextNumberForAttributeWithoutExplicitSequenceNumber, implementedByNilReason, inlineOrByReferenceFromEncodingRule, isMetadata, isReadOnly, isRestriction, language, nilReasonAllowed, nilReasonAllowed, postprocessAfterLoadingAndValidate, profiles, qname, qualifier, qualifiers, voidable
aliasName, compareTo, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, descriptorSource, 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
categoryOfValue, defaultCodeSpace, getNextNumberForAssociationRoleWithoutExplicitSequenceNumber, getNextNumberForAttributeWithoutExplicitSequenceNumber, implementedByNilReason, isMetadata, isReadOnly, isRestriction, nilReasonAllowed, nilReasonAllowed, profiles, qname, qualifier, qualifiers, voidable
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
public PropertyInfo reverseProperty
reverseProperty
in interface PropertyInfo
protected Element prp
protected Xmi10Document doc
protected String id
protected boolean attribute
protected AssociationInfoXmi10 associationInfo
protected ClassInfo classInfo
protected StructuredNumber sequenceNumber
protected PropertyInfo reverseProperty
protected boolean aliasAccessed
public PropertyInfoXmi10(Xmi10Document d, Element e, AssociationInfoXmi10 ai) throws ShapeChangeAbortException
ShapeChangeAbortException
public ShapeChangeResult result()
public String id()
Info
public String name()
Info
public void validateTaggedValuesCache()
Info
validateTaggedValuesCache
in interface Info
public boolean isDerived()
PropertyInfo
isDerived
in interface PropertyInfo
public boolean isAttribute()
PropertyInfo
isAttribute
in interface PropertyInfo
public Type typeInfo()
typeInfo
in interface PropertyInfo
public Multiplicity cardinality()
cardinality
in interface PropertyInfo
public boolean isNavigable()
PropertyInfo
isNavigable
in interface PropertyInfo
public boolean isOrdered()
PropertyInfo
isOrdered
in interface PropertyInfo
public boolean isUnique()
PropertyInfo
isUnique
in interface PropertyInfo
public boolean isComposition()
PropertyInfo
isComposition
in interface PropertyInfo
public boolean isAggregation()
PropertyInfo
isAggregation
in interface PropertyInfo
public String inlineOrByReference()
inlineOrByReference
in interface PropertyInfo
public void validateStereotypesCache()
validateStereotypesCache
in interface Info
public StructuredNumber sequenceNumber()
sequenceNumber
in interface PropertyInfo
public String initialValue()
initialValue
in interface PropertyInfo
public PropertyInfo reverseProperty()
reverseProperty
in interface PropertyInfo
public ClassInfo inClass()
inClass
in interface PropertyInfo
public void inClass(ClassInfo ci)
inClass
in interface PropertyInfo
public Vector<Constraint> constraints()
PropertyInfo
constraints
in interface PropertyInfo
null
public AssociationInfo association()
association
in interface PropertyInfo
protected List<LangString> descriptorValues(Descriptor descriptor)
InfoImpl
descriptorValues
in class InfoImpl
Copyright © 2017. All rights reserved.