us.mitre.ShapeChange.Model.GSIP
Class AssociationInfoGSIP

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Model.InfoImpl
      extended by de.interactive_instruments.ShapeChange.Model.AssociationInfoImpl
          extended by us.mitre.ShapeChange.Model.GSIP.AssociationInfoGSIP
All Implemented Interfaces:
AssociationInfo, Info

public class AssociationInfoGSIP
extends AssociationInfoImpl
implements AssociationInfo


Field Summary
protected  String gsipConnectorId
          The GSIP MDB id (PK) of the association object
protected  String gsipName
          Name of Association
protected  int navigability
          Navigability 0=both, +1=source->target, -1=target->source
protected  PropertyInfoGSIP[] properties
          Source [0] and target [1] properties
protected  boolean relevant
          Relevant part of model?
protected  String stereotype
          Stereotype
protected  HashMap<String,String> taggedValuesCache
          Cache map for tagged values
 
Fields inherited from class de.interactive_instruments.ShapeChange.Model.InfoImpl
aliasName, definition, description, documentation
 
Method Summary
 ClassInfo assocClass()
           
 PropertyInfo end1()
          Return PropertyInfo from source end
 PropertyInfo end2()
          Return PropertyInfo from source end
 String id()
          Return model-unique id of association
 Model model()
          Return Model object
 String name()
          Return gsipName of Association
 Options options()
          Return options and configuration object.
 ShapeChangeResult result()
          Return result object for error reporting.
 Set<String> stereotypes()
          TODO stereotype - should be normalized by this point
 String taggedValue(String tag)
          TODO validateTaggedValuesCache()
 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

gsipConnectorId

protected String gsipConnectorId
The GSIP MDB id (PK) of the association object


gsipName

protected String gsipName
Name of Association


navigability

protected int navigability
Navigability 0=both, +1=source->target, -1=target->source


relevant

protected boolean relevant
Relevant part of model?


properties

protected PropertyInfoGSIP[] properties
Source [0] and target [1] properties


taggedValuesCache

protected HashMap<String,String> taggedValuesCache
Cache map for tagged values


stereotype

protected String stereotype
Stereotype

Method Detail

end1

public PropertyInfo end1()
Return PropertyInfo from source end

Specified by:
end1 in interface AssociationInfo

end2

public PropertyInfo end2()
Return PropertyInfo from source end

Specified by:
end2 in interface AssociationInfo

id

public String id()
Return model-unique id of association

Specified by:
id in interface Info

model

public Model model()
Return Model object

Specified by:
model in interface Info

name

public String name()
Return gsipName of Association

Specified by:
name in interface Info

options

public Options options()
Return options and configuration object.

Specified by:
options in interface Info

result

public ShapeChangeResult result()
Return result object for error reporting.

Specified by:
result in interface Info

stereotypes

public Set<String> stereotypes()
TODO stereotype - should be normalized by this point

Specified by:
stereotypes in interface Info

taggedValue

public String taggedValue(String tag)
TODO validateTaggedValuesCache()

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)
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

assocClass

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


Copyright © 2015. All rights reserved.