|
||||||||||
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.Generic.GenericPropertyInfo
public class GenericPropertyInfo
Field Summary | |
---|---|
protected AssociationInfo |
association
|
protected Multiplicity |
cardinality
|
protected int |
categoryOfValue
|
protected Vector<Constraint> |
constraints
|
protected String |
defaultCodeSpace
|
protected String |
id
|
protected boolean |
implementedByNilReason
|
protected ClassInfo |
inClass
|
protected String |
initialValue
|
protected String |
inlineOrByReference
|
protected boolean |
isAggregation
|
protected boolean |
isAttribute
|
protected boolean |
isComposition
|
protected boolean |
isDerived
|
protected boolean |
isMetadata
|
protected boolean |
isNavigable
|
protected boolean |
isOrdered
|
protected boolean |
isReadOnly
|
protected GenericModel |
model
|
protected String |
name
|
protected Options |
options
|
protected ShapeChangeResult |
result
|
protected PropertyInfo |
reverseProperty
|
protected StructuredNumber |
sequenceNumber
|
protected HashSet<String> |
stereotypes
|
protected HashMap<String,String> |
taggedValues
|
protected Type |
typeInfo
|
protected boolean |
voidable
|
Fields inherited from class de.interactive_instruments.ShapeChange.Model.PropertyInfoImpl |
---|
nilReasonAllowed, qualifiers, restriction |
Fields inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl |
---|
aliasName, definition, description, documentation |
Constructor Summary | |
---|---|
GenericPropertyInfo(GenericModel model,
String id,
String name,
int categoryOfValue)
|
Method Summary | |
---|---|
String |
aliasName()
Retrieve the alias, typically a human readable name |
AssociationInfo |
association()
|
Multiplicity |
cardinality()
|
int |
categoryOfValue()
|
Vector<Constraint> |
constraints()
|
GenericPropertyInfo |
createCopy(String copyId)
|
String |
defaultCodeSpace()
|
String |
documentation()
|
boolean |
hasConstraints()
|
String |
id()
|
boolean |
implementedByNilReason()
Check the tagged value "gmlImplementedByNilReason" to find out whether the property shall allow for nil value treatment. |
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 |
isMetadata()
This inquires whether the property represents metadata, i.e. if it carries an appropriate tagged value. |
boolean |
isNavigable()
Indicate whether the property is navigable. |
boolean |
isOrdered()
Find out if the property represents an ordered collection. |
boolean |
isReadOnly()
Default implementation investigates the initial value set for the property. |
String |
message(int mnr)
Return a message for a message number. |
Model |
model()
|
String |
name()
|
Options |
options()
|
ShapeChangeResult |
result()
|
PropertyInfo |
reverseProperty()
|
StructuredNumber |
sequenceNumber()
|
void |
setAggregation(boolean isAggregation)
|
void |
setAliasName(String aliasName)
|
void |
setAssociation(AssociationInfo association)
|
void |
setAttribute(boolean isAttribute)
|
void |
setCardinality(Multiplicity cardinality)
|
void |
setCategoryOfValue(int categoryOfValue)
|
void |
setComposition(boolean isComposition)
|
void |
setConstraints(Vector<Constraint> constraints)
|
void |
setDefaultCodeSpace(String defaultCodeSpace)
|
void |
setDerived(boolean isDerived)
|
void |
setDocumentation(String documentation)
Sets the documentation of this property to the given value. |
void |
setId(String id)
|
void |
setImplementedByNilReason(boolean implementedByNilReason)
|
void |
setInClass(ClassInfo inClass)
|
void |
setInitialValue(String initialValue)
|
void |
setInlineOrByReference(String inlineOrByReference)
|
void |
setMetadata(boolean isMetadata)
|
void |
setModel(GenericModel model)
|
void |
setName(String name)
|
void |
setNavigable(boolean isNavigable)
|
void |
setNilReasonAllowed(boolean nilReasonAllowed)
|
void |
setOptions(Options options)
|
void |
setOrdered(boolean isOrdered)
|
void |
setReadOnly(boolean isReadOnly)
|
void |
setRestriction(boolean isRestriction)
|
void |
setResult(ShapeChangeResult result)
|
void |
setReverseProperty(PropertyInfo reverseProperty)
|
void |
setSequenceNumber(StructuredNumber sequenceNumber)
|
void |
setStereotype(String stereotype)
|
void |
setStereotypes(Set<String> stereotypeSet)
|
void |
setTaggedValue(String tvName,
String tvValue,
boolean updateFields)
|
void |
setTaggedValues(HashMap<String,String> taggedValues,
boolean updateFields)
|
void |
setTypeInfo(Type typeInfo)
|
void |
setVoidable(boolean voidable)
|
Set<String> |
stereotypes()
|
String |
taggedValue(String tag)
|
HashMap<String,String> |
taggedValues()
|
HashMap<String,String> |
taggedValues(String tagList)
Return all the tagged values listed in the input string. |
String |
toString(String indent)
|
Type |
typeInfo()
|
boolean |
voidable()
|
Methods inherited from class de.interactive_instruments.ShapeChange.Model.PropertyInfoImpl |
---|
encodingRule, fullName, 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.Info |
---|
definition, description, matches, stereotype |
Field Detail |
---|
protected Options options
protected ShapeChangeResult result
protected GenericModel model
protected String id
protected String name
protected HashSet<String> stereotypes
protected HashMap<String,String> taggedValues
protected boolean isDerived
protected boolean isReadOnly
protected boolean isAttribute
protected Type typeInfo
protected boolean isNavigable
protected boolean isOrdered
protected boolean isComposition
protected boolean isAggregation
protected Multiplicity cardinality
protected String initialValue
protected String inlineOrByReference
protected String defaultCodeSpace
protected boolean isMetadata
protected PropertyInfo reverseProperty
protected ClassInfo inClass
protected StructuredNumber sequenceNumber
protected boolean implementedByNilReason
protected boolean voidable
protected Vector<Constraint> constraints
protected AssociationInfo association
protected int categoryOfValue
Constructor Detail |
---|
public GenericPropertyInfo(GenericModel model, String id, String name, int categoryOfValue)
Method Detail |
---|
public boolean isMetadata()
PropertyInfoImpl
isMetadata
in interface PropertyInfo
isMetadata
in class PropertyInfoImpl
public void setAttribute(boolean isAttribute)
isAttribute
- the isAttribute to setpublic void setMetadata(boolean isMetadata)
isMetadata
- the isMetadata to setpublic void setReverseProperty(PropertyInfo reverseProperty)
reverseProperty
- the reverseProperty to setpublic void setInClass(ClassInfo inClass)
inClass
- the inClass to setpublic void setImplementedByNilReason(boolean implementedByNilReason)
implementedByNilReason
- the implementedByNilReason to setpublic void setAssociation(AssociationInfo association)
association
- the association to setpublic void setCategoryOfValue(int categoryOfValue)
categoryOfValue
- the categoryOfValue to setpublic boolean isDerived()
PropertyInfo
isDerived
in interface PropertyInfo
PropertyInfo.isDerived()
public boolean isAttribute()
PropertyInfo
isAttribute
in interface PropertyInfo
PropertyInfo.isAttribute()
public Type typeInfo()
typeInfo
in interface PropertyInfo
PropertyInfo.typeInfo()
public boolean isNavigable()
PropertyInfo
isNavigable
in interface PropertyInfo
PropertyInfo.isNavigable()
public boolean isOrdered()
PropertyInfo
isOrdered
in interface PropertyInfo
PropertyInfo.isOrdered()
public boolean hasConstraints()
public boolean isComposition()
PropertyInfo
isComposition
in interface PropertyInfo
PropertyInfo.isComposition()
public boolean isAggregation()
PropertyInfo
isAggregation
in interface PropertyInfo
PropertyInfo.isAggregation()
public Multiplicity cardinality()
cardinality
in interface PropertyInfo
PropertyInfo.cardinality()
public String initialValue()
initialValue
in interface PropertyInfo
PropertyInfo.initialValue()
public String inlineOrByReference()
inlineOrByReference
in interface PropertyInfo
()
public String defaultCodeSpace()
defaultCodeSpace
in interface PropertyInfo
()
public PropertyInfo reverseProperty()
reverseProperty
in interface PropertyInfo
null
for attribute properties.()
public ClassInfo inClass()
inClass
in interface PropertyInfo
PropertyInfo.inClass()
public void inClass(ClassInfo ci)
inClass
in interface PropertyInfo
de.interactive_instruments.ShapeChange.Model.PropertyInfo#inClass(de.
interactive_instruments.ShapeChange.Model.ClassInfo)
public StructuredNumber sequenceNumber()
sequenceNumber
in interface PropertyInfo
()
public boolean voidable()
voidable
in interface PropertyInfo
PropertyInfo.voidable()
public Vector<Constraint> constraints()
constraints
in interface PropertyInfo
PropertyInfo.constraints()
public AssociationInfo association()
association
in interface PropertyInfo
PropertyInfo.association()
public void setCardinality(Multiplicity cardinality)
cardinality
- the cardinality to setpublic void setConstraints(Vector<Constraint> constraints)
constraints
- the constraints to setpublic void setDefaultCodeSpace(String defaultCodeSpace)
defaultCodeSpace
- the defaultCodeSpace to setpublic void setInitialValue(String initialValue)
initialValue
- the initialValue to setpublic void setInlineOrByReference(String inlineOrByReference)
inlineOrByReference
- the inlineOrByReference to setpublic void setAggregation(boolean isAggregation)
isAggregation
- the isAggregation to setpublic void setComposition(boolean isComposition)
isComposition
- the isComposition to setpublic void setDerived(boolean isDerived)
isDerived
- the isDerived to setpublic void setNavigable(boolean isNavigable)
isNavigable
- the isNavigable to setpublic void setOrdered(boolean isOrdered)
isOrdered
- the isOrdered to setpublic void setSequenceNumber(StructuredNumber sequenceNumber)
sequenceNumber
- the sequenceNumber to setpublic void setTypeInfo(Type typeInfo)
typeInfo
- the typeInfo to setpublic void setVoidable(boolean voidable)
voidable
- the voidable to setpublic void setNilReasonAllowed(boolean nilReasonAllowed)
public void setRestriction(boolean isRestriction)
public Set<String> stereotypes()
stereotypes
in interface Info
Info.stereotypes()
public String aliasName()
InfoImpl
aliasName
in interface Info
aliasName
in class InfoImpl
InfoImpl.aliasName()
public String documentation()
documentation
in interface Info
documentation
in class InfoImpl
InfoImpl.documentation()
public String id()
id
in interface Info
Info.id()
public Model model()
model
in interface Info
Info.model()
public String name()
name
in interface Info
Info.name()
public Options options()
options
in interface Info
Info.options()
public ShapeChangeResult result()
result
in interface Info
Info.result()
public void setAliasName(String aliasName)
aliasName
- public void setDocumentation(String documentation)
documentation
- public void setId(String id)
id
- public void setModel(GenericModel model)
model
- public void setName(String name)
name
- public void setOptions(Options options)
options
- public void setResult(ShapeChangeResult result)
result
- public void setStereotypes(Set<String> stereotypeSet)
stereotypeSet
- public void setStereotype(String stereotype)
stereotype
- public void setTaggedValues(HashMap<String,String> taggedValues, boolean updateFields)
taggedValues
- updateFields
- true if class fields should be updated based upon information
from given tagged values, else falsepublic String taggedValue(String tag)
taggedValue
in interface Info
tag
- name of the tagged value to look up
null if the tagged value is missing.- See Also:
Info.taggedValue(java.lang.String)
public HashMap<String,String> taggedValues()
taggedValues
in interface Info
null
Info.taggedValues()
public HashMap<String,String> taggedValues(String tagList)
Info
taggedValues
in interface Info
Info.taggedValues(java.lang.String)
public boolean implementedByNilReason()
PropertyInfoImpl
implementedByNilReason
in interface PropertyInfo
implementedByNilReason
in class PropertyInfoImpl
PropertyInfoImpl.implementedByNilReason()
public int categoryOfValue()
categoryOfValue
in interface PropertyInfo
categoryOfValue
in class PropertyInfoImpl
PropertyInfoImpl.categoryOfValue()
public GenericPropertyInfo createCopy(String copyId)
public String toString(String indent)
public String message(int mnr)
MessageSource
message
in interface MessageSource
public boolean isReadOnly()
PropertyInfoImpl
isReadOnly
in interface PropertyInfo
isReadOnly
in class PropertyInfoImpl
PropertyInfo.isReadOnly()
public void setReadOnly(boolean isReadOnly)
isReadOnly
- the isReadOnly to setpublic void setTaggedValue(String tvName, String tvValue, boolean updateFields)
tvName
- tvValue
- updateFields
- true if property fields should be updated based upon
information from given tagged value, else false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |