de.interactive_instruments.ShapeChange.Model.Generic
Class GenericAssociationInfo

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Model.InfoImpl
      extended by de.interactive_instruments.ShapeChange.Model.AssociationInfoImpl
          extended by de.interactive_instruments.ShapeChange.Model.Generic.GenericAssociationInfo
All Implemented Interfaces:
AssociationInfo, Info

public class GenericAssociationInfo
extends AssociationInfoImpl

Author:
echterhoff

Field Summary
protected  ClassInfo assocClass
           
protected  PropertyInfo end1
           
protected  PropertyInfo end2
           
protected  String id
           
protected  GenericModel model
           
protected  String name
           
protected  Options options
           
protected  ShapeChangeResult result
           
protected  HashSet<String> stereotypes
           
protected  HashMap<String,String> taggedValues
           
 
Fields inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl
aliasName, definition, description, documentation
 
Constructor Summary
GenericAssociationInfo()
           
 
Method Summary
 String aliasName()
          Retrieve the alias, typically a human readable name
 ClassInfo assocClass()
           
 String documentation()
           
 PropertyInfo end1()
           
 PropertyInfo end2()
           
 String id()
           
 Model model()
           
 String name()
           
 Options options()
           
 ShapeChangeResult result()
           
 void setAliasName(String aliasName)
           
 void setAssocClass(ClassInfo assocClass)
           
 void setDocumentation(String documentation)
           
 void setEnd1(PropertyInfo end1)
           
 void setEnd2(PropertyInfo end2)
           
 void setId(String id)
           
 void setModel(GenericModel model)
           
 void setName(String name)
           
 void setOptions(Options options)
           
 void setResult(ShapeChangeResult result)
           
 void setStereotypes(Set<String> stereotypeSet)
           
 void setTaggedValues(HashMap<String,String> taggedValues)
           
 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.
 
Methods inherited from class de.interactive_instruments.ShapeChange.Model.AssociationInfoImpl
encodingRule, fullName, postprocessAfterLoadingAndValidate
 
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

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
Constructor Detail

GenericAssociationInfo

public GenericAssociationInfo()
Method Detail

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.