de.interactive_instruments.ShapeChange.Model.Xmi10
Class AssociationInfoXmi10

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.Xmi10.AssociationInfoXmi10
All Implemented Interfaces:
AssociationInfo, Info

public class AssociationInfoXmi10
extends AssociationInfoImpl
implements AssociationInfo

Information about an UML association.


Field Summary
protected  Element ass
           
protected  Xmi10Document doc
           
protected  PropertyInfoXmi10 end1
           
protected  PropertyInfoXmi10 end2
           
protected  String id
           
 
Fields inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl
aliasName, definition, description, documentation
 
Constructor Summary
AssociationInfoXmi10(Xmi10Document d, Element e)
           
 
Method Summary
 ClassInfo assocClass()
           
 PropertyInfo end1()
           
 PropertyInfo end2()
           
 String id()
           
 Model model()
           
 String name()
           
 Options options()
           
 ShapeChangeResult result()
           
 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
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.Info
aliasName, definition, description, documentation, encodingRule, fullName, matches, postprocessAfterLoadingAndValidate, stereotype
 

Field Detail

ass

protected Element ass

doc

protected Xmi10Document doc

id

protected String id

end1

protected PropertyInfoXmi10 end1

end2

protected PropertyInfoXmi10 end2
Constructor Detail

AssociationInfoXmi10

public AssociationInfoXmi10(Xmi10Document d,
                            Element e)
                     throws ShapeChangeAbortException
Throws:
ShapeChangeAbortException
Method Detail

model

public Model model()
Specified by:
model in interface Info

options

public Options options()
Specified by:
options in interface Info

result

public ShapeChangeResult result()
Specified by:
result in interface Info

id

public String id()
Specified by:
id in interface Info

name

public String name()
Specified by:
name in interface Info

stereotypes

public Set<String> stereotypes()
Specified by:
stereotypes in interface Info

taggedValue

public String taggedValue(String tag)
Specified by:
taggedValue in interface Info
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.

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.

Specified by:
taggedValues in interface Info

taggedValues

public HashMap<String,String> taggedValues()
Specified by:
taggedValues in interface Info
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

end1

public PropertyInfo end1()
Specified by:
end1 in interface AssociationInfo

end2

public PropertyInfo end2()
Specified by:
end2 in interface AssociationInfo

assocClass

public ClassInfo assocClass()
Specified by:
assocClass in interface AssociationInfo


Copyright © 2015. All rights reserved.