de.interactive_instruments.ShapeChange.Model.Generic
Class GenericAssociationInfo
java.lang.Object
de.interactive_instruments.ShapeChange.Model.InfoImpl
de.interactive_instruments.ShapeChange.Model.AssociationInfoImpl
de.interactive_instruments.ShapeChange.Model.Generic.GenericAssociationInfo
- All Implemented Interfaces:
- AssociationInfo, Info
public class GenericAssociationInfo
- extends AssociationInfoImpl
- Author:
- echterhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
options
protected Options options
result
protected ShapeChangeResult result
model
protected GenericModel model
id
protected String id
name
protected String name
stereotypes
protected HashSet<String> stereotypes
taggedValues
protected HashMap<String,String> taggedValues
end1
protected PropertyInfo end1
end2
protected PropertyInfo end2
assocClass
protected ClassInfo assocClass
GenericAssociationInfo
public GenericAssociationInfo()
setEnd1
public void setEnd1(PropertyInfo end1)
- Parameters:
end1
- the end1 to set
setEnd2
public void setEnd2(PropertyInfo end2)
- Parameters:
end2
- the end2 to set
setAssocClass
public void setAssocClass(ClassInfo assocClass)
- Parameters:
assocClass
- the assocClass to set
stereotypes
public Set<String> stereotypes()
- See Also:
Info.stereotypes()
aliasName
public String aliasName()
- Description copied from class:
InfoImpl
- Retrieve the alias, typically a human readable name
- Specified by:
aliasName
in interface Info
- Overrides:
aliasName
in class InfoImpl
- Returns:
- the human readable name or an empty string if none exists
- See Also:
InfoImpl.aliasName()
documentation
public String documentation()
- Specified by:
documentation
in interface Info
- Overrides:
documentation
in class InfoImpl
- See Also:
InfoImpl.documentation()
id
public String id()
- See Also:
Info.id()
model
public Model model()
- See Also:
Info.model()
name
public String name()
- See Also:
Info.name()
options
public Options options()
- See Also:
Info.options()
result
public ShapeChangeResult result()
- See Also:
Info.result()
setAliasName
public void setAliasName(String aliasName)
- Parameters:
aliasName
-
setDocumentation
public void setDocumentation(String documentation)
- Parameters:
documentation
-
setId
public void setId(String id)
- Parameters:
id
-
setModel
public void setModel(GenericModel model)
- Parameters:
model
-
setName
public void setName(String name)
- Parameters:
name
-
setOptions
public void setOptions(Options options)
- Parameters:
options
-
setResult
public void setResult(ShapeChangeResult result)
- Parameters:
result
-
setStereotypes
public void setStereotypes(Set<String> stereotypeSet)
- Parameters:
stereotypeSet
-
setTaggedValues
public void setTaggedValues(HashMap<String,String> taggedValues)
- Parameters:
taggedValues
-
taggedValue
public String taggedValue(String tag)
- Parameters:
tag
- name of the tagged value to look up
- Returns:
- the tagged value for the tag given or
null if the tagged value is missing.- See Also:
Info.taggedValue(java.lang.String)
taggedValues
public HashMap<String,String> taggedValues()
- Returns:
- a map with the tagged values defined for this object (key: tagged
value name, value: the value of the tagged value); can be an
empty map but not
null
- See Also:
Info.taggedValues()
taggedValues
public HashMap<String,String> taggedValues(String tagList)
- Description copied from interface:
Info
- Return all the tagged values listed in the input string. Tags are assumed
to be separated by commas.
- See Also:
Info.taggedValues(java.lang.String)
end1
public PropertyInfo end1()
- See Also:
AssociationInfo.end1()
end2
public PropertyInfo end2()
- See Also:
AssociationInfo.end2()
assocClass
public ClassInfo assocClass()
- See Also:
AssociationInfo.assocClass()
Copyright © 2015. All rights reserved.