java.lang.Object
com.nomagic.reportwizard.tools.dependencymatrix.Relation

@OpenApiAll public class Relation extends Object
Class for Relation object which use in getRelation method.
Since:
Feb 2, 2012
  • Constructor Details

    • Relation

      public Relation(String semanticType, @CheckForNull Element element, String name, String direction)
      Constructor.
      Parameters:
      semanticType - semantic type
      element - relation element
      name - relation name
      direction - direction
  • Method Details

    • getSemanticType

      public String getSemanticType()
      Gets the semantic type.
      Returns:
      semantic type
    • setSemanticType

      public void setSemanticType(String semanticType)
      Sets semantic type.
      Parameters:
      semanticType - semantic type
    • getElement

      public Element getElement()
      Gets relation element.
      Returns:
      element element
    • setElement

      public void setElement(Element element)
      Sets relation element.
      Parameters:
      element - relation element
    • getName

      public String getName()
      Gets relation name.
      Returns:
      relation name
    • setRelation

      public void setRelation(String name)
      Sets relation name.
      Parameters:
      name - relation name
    • getDirection

      public String getDirection()
      Gets direction as String.
      Returns:
      direction as String
    • setDirection

      public void setDirection(String direction)
      Sets direction as String.
      Parameters:
      direction - direction as String