public abstract class PropertyInfoImpl extends InfoImpl implements PropertyInfo
reverseProperty
Modifier and Type | Field and Description |
---|---|
protected Boolean |
implementedByNilReason |
protected boolean |
nilReasonAllowed
Find out whether nilReason is allowed for the property.
|
protected Profiles |
profiles |
protected Vector<Qualifier> |
qualifiers
Optional qualifier on association role
|
protected boolean |
restriction
Inquire restriction of property.
|
descriptors, stereotypesCache, taggedValuesCache
GLOBAL_SEQUENCE_NUMBER_START_VALUE_FOR_ASSOCIATIONROLES, GLOBAL_SEQUENCE_NUMBER_START_VALUE_FOR_ATTRIBUTES
Constructor and Description |
---|
PropertyInfoImpl() |
Modifier and Type | Method and Description |
---|---|
int |
categoryOfValue()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
String |
defaultCodeSpace()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
String |
encodingRule(String platform)
Return the encoding rule relevant on the operation, given the platform
|
String |
fullName()
Fully qualified UML name (Package1::...
|
String |
fullNameInSchema()
Fully qualified UML name (Package1::...
|
int |
getNextNumberForAssociationRoleWithoutExplicitSequenceNumber()
Provides the next value to use as sequence number for association roles
whose sequence number has not explicitly been set.
|
int |
getNextNumberForAttributeWithoutExplicitSequenceNumber()
Provides the next value to use as sequence number for attributes whose
sequence number has not explicitly been set.
|
boolean |
implementedByNilReason()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
String |
inlineOrByReferenceFromEncodingRule() |
boolean |
isMetadata()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
boolean |
isReadOnly()
Default implementation investigates the initial value set for the
property.
|
boolean |
isRestriction() |
String |
language()
NOTE: this method is not final since several XXXInfoImpl classes override
it
|
boolean |
nilReasonAllowed() |
void |
nilReasonAllowed(boolean b)
Mark the property as 'nilReasonAllowed'.
|
void |
postprocessAfterLoadingAndValidate()
1.
|
Profiles |
profiles()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
String |
qname()
This returns the name of the property adorned with the namespace prefix
of its class's package.
|
Qualifier |
qualifier(String name) |
Vector<Qualifier> |
qualifiers() |
boolean |
voidable()
WARNING: This method is intended to be "final", but not actually declared
as such.
|
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
association, cardinality, constraints, inClass, inClass, initialValue, inlineOrByReference, isAggregation, isAttribute, isComposition, isDerived, isNavigable, isOrdered, isUnique, reverseProperty, sequenceNumber, typeInfo
aliasName, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, documentation, examples, globalIdentifier, id, legalBasis, matches, model, name, options, primaryCode, removeTaggedValue, result, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage, validateStereotypesCache, validateTaggedValuesCache
compareTo
protected boolean restriction
protected Boolean implementedByNilReason
protected Profiles profiles
protected boolean nilReasonAllowed
public int getNextNumberForAttributeWithoutExplicitSequenceNumber()
PropertyInfo
PropertyInfo.GLOBAL_SEQUENCE_NUMBER_START_VALUE_FOR_ATTRIBUTES
which is
-1073741824. Each call of
this method increments the returned value by 1.getNextNumberForAttributeWithoutExplicitSequenceNumber
in interface PropertyInfo
public int getNextNumberForAssociationRoleWithoutExplicitSequenceNumber()
PropertyInfo
PropertyInfo.GLOBAL_SEQUENCE_NUMBER_START_VALUE_FOR_ASSOCIATIONROLES
which
is -536870912.
Each call of this method increments the returned value by 1.getNextNumberForAssociationRoleWithoutExplicitSequenceNumber
in interface PropertyInfo
public boolean isRestriction()
isRestriction
in interface PropertyInfo
public String language()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
public String encodingRule(String platform)
encodingRule
in interface Info
encodingRule
in class InfoImpl
public boolean isMetadata()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
isMetadata
in interface PropertyInfo
true
if the property has tagged value 'isMetadata'
with value 'true', else false
.public String defaultCodeSpace()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
defaultCodeSpace
in interface PropertyInfo
public String qname()
qname
in interface PropertyInfo
public boolean implementedByNilReason()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
implementedByNilReason
in interface PropertyInfo
true
if the property allows for nil value treatment.
That is the case if either 1. the tagged value
implementedByNilReason/gmlImplementedByNilReason is
true
, or 2. the inClass is a union whose name ends
with "Reason", that has two properties, and the name of the
property itself is equal to (ignoring case) "reason", or 3. the
input parameter "isAIXM" is true
and the inClass is
a feature type, object type, or AIXM extension.public boolean nilReasonAllowed()
nilReasonAllowed
in interface PropertyInfo
public void nilReasonAllowed(boolean b)
nilReasonAllowed
in interface PropertyInfo
public String fullName()
Info
public String fullNameInSchema()
Info
fullNameInSchema
in interface Info
public int categoryOfValue()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
categoryOfValue
in interface PropertyInfo
public void postprocessAfterLoadingAndValidate()
InfoImpl
postprocessAfterLoadingAndValidate
in interface Info
postprocessAfterLoadingAndValidate
in class InfoImpl
public boolean isReadOnly()
isReadOnly
in interface PropertyInfo
PropertyInfo.isReadOnly()
public Qualifier qualifier(String name)
qualifier
in interface PropertyInfo
public Vector<Qualifier> qualifiers()
qualifiers
in interface PropertyInfo
public String inlineOrByReferenceFromEncodingRule()
public boolean voidable()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
voidable
in interface PropertyInfo
true
if the property owns the stereotype 'voidable',
or has tagged value 'nillable' = true
public Profiles profiles()
WARNING: This method is intended to be "final", but not actually declared as such. A depending project can thus extend the method, if absolutely necessary.
profiles
in interface PropertyInfo
null
Copyright © 2017. All rights reserved.