|
||||||||||
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
us.mitre.ShapeChange.Model.GSIP.PropertyInfoGSIP
public class PropertyInfoGSIP
Field Summary | |
---|---|
protected String |
aggregationTypeCache
Aggregation type cache |
protected ClassInfoGSIP |
classInfo
Class the property belongs to |
protected Vector<Constraint> |
constraintsCache
Cache set of constraints |
protected GSIPDocument |
document
Access to the document object |
protected String |
gsipName
Name of the property |
protected String |
gsipPropertyId
Model-unique id. |
protected String |
initialValueCache
Initial value cache |
protected boolean |
isAttribute
Flag for whether or not this Property is an Attribute |
protected Boolean |
isDerivedCache
Is derived cache |
protected Boolean |
isNavigableCache
Is navigable cache |
protected Boolean |
isOrderedCache
Cache for ordering in property |
protected Multiplicity |
multiplicity
Multiplicity of property |
protected StructuredNumber |
sequenceNumber
Sequence number of property |
protected String |
stereotype
Cache for stereotype |
protected HashMap<String,String> |
taggedValuesCache
Cache map for tagged values |
protected ClassInfoGSIP |
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 | |
---|---|
PropertyInfoGSIP(GSIPDocument doc,
ClassInfoGSIP ci,
AssociationInfoGSIP ai,
boolean reversed,
HashMap<String,Object> properties,
ClassInfoGSIP tci)
Create a PropertyInfo object given an AssociationInfo and a ConnectorEnd. |
|
PropertyInfoGSIP(GSIPDocument doc,
ClassInfoGSIP ci,
HashMap<String,Object> properties)
|
|
PropertyInfoGSIP(GSIPDocument doc,
ClassInfoGSIP ci,
HashMap<String,Object> properties,
boolean isEnumLiteral)
Create a PropertyInfo object given an GSIP Attribute. |
Method Summary | |
---|---|
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 |
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. |
Model |
model()
Return GSIP 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()
Return the property on the other end of the association. |
StructuredNumber |
sequenceNumber()
|
void |
setAggregationType(String aggregation)
|
String |
setInlineOrByReference(String inlineOrByRef)
|
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. |
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, isReadOnly, isRestriction, nilReasonAllowed, nilReasonAllowed, postprocessAfterLoadingAndValidate, qname, qualifier, qualifiers |
Methods inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
aliasName, definition, description, documentation, 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, isReadOnly, isRestriction, nilReasonAllowed, nilReasonAllowed, qname, qualifier, qualifiers |
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Info |
---|
aliasName, definition, description, documentation, encodingRule, fullName, matches, postprocessAfterLoadingAndValidate, stereotype |
Field Detail |
---|
protected boolean isAttribute
protected GSIPDocument document
protected ClassInfoGSIP classInfo
protected String gsipPropertyId
protected String gsipName
protected Type typeInfo
protected ClassInfoGSIP typeClassInfo
protected StructuredNumber sequenceNumber
protected Multiplicity multiplicity
protected String initialValueCache
protected Boolean isDerivedCache
protected Boolean isNavigableCache
protected String aggregationTypeCache
protected Boolean isOrderedCache
protected String stereotype
protected HashMap<String,String> taggedValuesCache
protected Vector<Constraint> constraintsCache
Constructor Detail |
---|
public PropertyInfoGSIP(GSIPDocument doc, ClassInfoGSIP ci, HashMap<String,Object> properties)
public PropertyInfoGSIP(GSIPDocument doc, ClassInfoGSIP ci, HashMap<String,Object> properties, boolean isEnumLiteral)
public PropertyInfoGSIP(GSIPDocument doc, ClassInfoGSIP ci, AssociationInfoGSIP ai, boolean reversed, HashMap<String,Object> properties, ClassInfoGSIP 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 String inlineOrByReference()
inlineOrByReference
in interface PropertyInfo
public boolean isAggregation()
isAggregation
in interface PropertyInfo
public boolean isAttribute()
isAttribute
in interface PropertyInfo
public boolean isComposition()
isComposition
in interface PropertyInfo
public boolean isDerived()
isDerived
in interface PropertyInfo
public boolean isNavigable()
isNavigable
in interface PropertyInfo
public boolean isOrdered()
isOrdered
in interface PropertyInfo
public PropertyInfo reverseProperty()
reverseProperty
in interface PropertyInfo
null
for attribute properties.public StructuredNumber sequenceNumber()
sequenceNumber
in interface PropertyInfo
public Set<String> stereotypes()
stereotypes
in interface Info
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 Type typeInfo()
typeInfo
in interface PropertyInfo
public boolean voidable()
voidable
in interface PropertyInfo
public String id()
id
in interface Info
public String name()
name
in interface Info
public HashMap<String,String> taggedValues(String tagList)
taggedValues
in interface Info
public HashMap<String,String> taggedValues()
taggedValues
in interface Info
null
public Vector<Constraint> constraints()
constraints
in interface PropertyInfo
public void setAggregationType(String aggregation)
public String setInlineOrByReference(String inlineOrByRef)
public AssociationInfo association()
association
in interface PropertyInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |