Class Relation
java.lang.Object
com.nomagic.reportwizard.tools.dependencymatrix.Relation
Class for Relation object which use in getRelation method.
- Since:
- Feb 2, 2012
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets direction as String.Gets relation element.getName()Gets relation name.Gets the semantic type.voidsetDirection(String direction) Sets direction as String.voidsetElement(Element element) Sets relation element.voidsetRelation(String name) Sets relation name.voidsetSemanticType(String semanticType) Sets semantic type.
-
Constructor Details
-
Relation
Constructor.- Parameters:
semanticType- semantic typeelement- relation elementname- relation namedirection- direction
-
-
Method Details
-
getSemanticType
Gets the semantic type.- Returns:
- semantic type
-
setSemanticType
Sets semantic type.- Parameters:
semanticType- semantic type
-
getElement
Gets relation element.- Returns:
- element element
-
setElement
Sets relation element.- Parameters:
element- relation element
-
getName
Gets relation name.- Returns:
- relation name
-
setRelation
Sets relation name.- Parameters:
name- relation name
-
getDirection
Gets direction as String.- Returns:
- direction as String
-
setDirection
Sets direction as String.- Parameters:
direction- direction as String
-