|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Model.InfoImpl
de.interactive_instruments.ShapeChange.Model.PropertyInfoImpl
de.interactive_instruments.ShapeChange.Model.EA.PropertyInfoEA
public class PropertyInfoEA
Field Summary | |
---|---|
protected String |
aggregationTypeCache
Aggregation type cache |
protected boolean |
aliasAccessed
Flag used to prevent duplicate retrieval/computation of the alias of this property. |
protected ClassInfoEA |
classInfo
Class the property belongs to |
protected Vector<Constraint> |
constraintsCache
Cache set of constraints |
protected EADocument |
document
Access to the document object |
protected boolean |
documentationAccessed
Flag used to prevent duplicate retrieval/computation of the documentation of this property. |
protected org.sparx.Attribute |
eaAttribute
EA attribute object, if this is an attribute |
protected String |
eaName
Name of the property |
protected String |
eaPropertyId
Model-unique id. |
protected String |
initialValueCache
Initial value cache |
protected Boolean |
isDerivedCache
Is derived cache |
protected Boolean |
isNavigableCache
Is navigable cache |
protected Boolean |
isOrderedCache
Cache for ordering in property |
protected Boolean |
isReadOnlyCache
Is read only cache |
protected Multiplicity |
multiplicity
Multiplicity of property |
protected StructuredNumber |
sequenceNumber
Sequence number of property |
protected HashSet<String> |
stereotypesCache
Cache set for stereotypes |
protected HashMap<String,String> |
taggedValuesCache
Cache map for tagged values |
protected ClassInfoEA |
typeClassInfo
|
protected Type |
typeInfo
Type information |
Fields inherited from class de.interactive_instruments.ShapeChange.Model.PropertyInfoImpl |
---|
implementedByNilReason, nilReasonAllowed, qualifiers, restriction |
Fields inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
aliasName, definition, description, documentation |
Constructor Summary | |
---|---|
PropertyInfoEA(EADocument doc,
ClassInfoEA ci,
AssociationInfoEA ai,
boolean reversed,
org.sparx.ConnectorEnd eaCE,
ClassInfoEA tci)
Create a PropertyInfo object given an AssociationInfo and a ConnectorEnd. |
|
PropertyInfoEA(EADocument doc,
ClassInfoEA ci,
org.sparx.Attribute attr)
Create a PropertyInfo object given an EA Attribute. |
Method Summary | |
---|---|
String |
aliasName()
Get alias name of the property. |
AssociationInfo |
association()
|
Multiplicity |
cardinality()
Return multiplicity of property |
Vector<Constraint> |
constraints()
This method returns the constraints associated with the class. |
String |
defaultCodeSpace()
Return value of tagged value "defaultCodeSpace" |
String |
documentation()
Return the documentation attached to the property object. |
String |
id()
Return model-unique id of property. |
ClassInfo |
inClass()
Return the class object to which this property belongs. |
void |
inClass(ClassInfo ci)
Make the property belong to the class given. |
String |
initialValue()
Return the initialValue of the property in case such a thing is specified in the model, null otherwise. |
String |
inlineOrByReference()
From the tagged value "inlineOrByReference" find out whether the property shall be translated into a construct which embeds the value into the property ("inline") or refers it ("byreference"). |
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 |
isReadOnly()
Retrieves information on whether the property is read only directly via the EA API. |
Model |
model()
Return EA model object. |
String |
name()
Obtain the name of the property. |
Options |
options()
Return options and configuration object. |
ShapeChangeResult |
result()
Return result object for error reporting. |
PropertyInfo |
reverseProperty()
|
StructuredNumber |
sequenceNumber()
|
Set<String> |
stereotypes()
Return the normalized stereotype of the property. |
String |
taggedValue(String tag)
Return the tagged value for the tag given or null if missing. |
void |
taggedValue(String tag,
String value)
Set the tagged value for the tag given. |
HashMap<String,String> |
taggedValues()
|
HashMap<String,String> |
taggedValues(String tagList)
Return all the tagged values listed in the input string. |
Type |
typeInfo()
Return id and name of type of property |
boolean |
voidable()
Find out whether the property owns the stereotype voidable. |
Methods inherited from class de.interactive_instruments.ShapeChange.Model.PropertyInfoImpl |
---|
categoryOfValue, encodingRule, fullName, implementedByNilReason, isMetadata, isRestriction, nilReasonAllowed, nilReasonAllowed, postprocessAfterLoadingAndValidate, qname, qualifier, qualifiers |
Methods inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
definition, description, matches, stereotype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.PropertyInfo |
---|
categoryOfValue, implementedByNilReason, isMetadata, isRestriction, nilReasonAllowed, nilReasonAllowed, qname, qualifier, qualifiers |
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Info |
---|
definition, description, encodingRule, fullName, matches, postprocessAfterLoadingAndValidate, stereotype |
Field Detail |
---|
protected boolean aliasAccessed
protected boolean documentationAccessed
protected EADocument document
protected ClassInfoEA classInfo
protected String eaPropertyId
protected String eaName
protected Type typeInfo
protected ClassInfoEA typeClassInfo
protected org.sparx.Attribute eaAttribute
protected StructuredNumber sequenceNumber
protected Multiplicity multiplicity
protected String initialValueCache
protected Boolean isReadOnlyCache
protected Boolean isDerivedCache
protected Boolean isNavigableCache
protected String aggregationTypeCache
protected Boolean isOrderedCache
protected HashSet<String> stereotypesCache
protected HashMap<String,String> taggedValuesCache
protected Vector<Constraint> constraintsCache
Constructor Detail |
---|
public PropertyInfoEA(EADocument doc, ClassInfoEA ci, org.sparx.Attribute attr)
public PropertyInfoEA(EADocument doc, ClassInfoEA ci, AssociationInfoEA ai, boolean reversed, org.sparx.ConnectorEnd eaCE, ClassInfoEA tci)
Method Detail |
---|
public Model model()
model
in interface Info
public Options options()
options
in interface Info
public ShapeChangeResult result()
result
in interface Info
public Multiplicity cardinality()
cardinality
in interface PropertyInfo
public String defaultCodeSpace()
defaultCodeSpace
in interface PropertyInfo
public ClassInfo inClass()
inClass
in interface PropertyInfo
public void inClass(ClassInfo ci)
inClass
in interface PropertyInfo
public String initialValue()
initialValue
in interface PropertyInfo
public boolean isReadOnly()
isReadOnly
in interface PropertyInfo
isReadOnly
in class PropertyInfoImpl
PropertyInfoImpl.isReadOnly()
public String inlineOrByReference()
inlineOrByReference
in interface PropertyInfo
public boolean isAggregation()
PropertyInfo
isAggregation
in interface PropertyInfo
PropertyInfo.isAggregation()
public boolean isAttribute()
PropertyInfo
isAttribute
in interface PropertyInfo
PropertyInfo.isAttribute()
public boolean isComposition()
PropertyInfo
isComposition
in interface PropertyInfo
PropertyInfo.isComposition()
public boolean isDerived()
PropertyInfo
isDerived
in interface PropertyInfo
PropertyInfo.isDerived()
public boolean isNavigable()
PropertyInfo
isNavigable
in interface PropertyInfo
PropertyInfo.isNavigable()
public boolean isOrdered()
PropertyInfo
isOrdered
in interface PropertyInfo
PropertyInfo.isOrdered()
public PropertyInfo reverseProperty()
reverseProperty
in interface PropertyInfo
null
for attribute properties.PropertyInfo.reverseProperty()
public StructuredNumber sequenceNumber()
sequenceNumber
in interface PropertyInfo
public Set<String> stereotypes()
stereotypes
in interface Info
public HashMap<String,String> taggedValues()
taggedValues
in interface Info
null
Info.taggedValues()
public String taggedValue(String tag)
taggedValue
in interface Info
tag
- name of the tagged value to look up
null if the tagged value is missing.
public void taggedValue(String tag, String value)
public Type typeInfo()
typeInfo
in interface PropertyInfo
public boolean voidable()
voidable
in interface PropertyInfo
public String documentation()
documentation
in interface Info
documentation
in class InfoImpl
public String id()
id
in interface Info
public String name()
name
in interface Info
public String aliasName()
aliasName
in interface Info
aliasName
in class InfoImpl
public HashMap<String,String> taggedValues(String tagList)
taggedValues
in interface Info
public Vector<Constraint> constraints()
constraints
in interface PropertyInfo
public AssociationInfo association()
association
in interface PropertyInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |