Class CommentBinding

java.lang.Object
lu.kbra.modelizer_next.domain.CommentBinding

public class CommentBinding extends Object
Describes how a comment is bound to another model element or field.
  • Constructor Details

    • CommentBinding

      public CommentBinding()
      Creates a comment binding instance.
    • CommentBinding

      public CommentBinding(BoundTargetType targetType, String targetId)
      Creates a comment binding instance.
      Parameters:
      targetType - type value to use
      targetId - id of the element to read or modify
  • Method Details

    • getTargetId

      public String getTargetId()
      Returns the target ID.
      Returns:
      the target ID
    • getTargetType

      public BoundTargetType getTargetType()
      Returns the target type.
      Returns:
      the target type
    • setTargetId

      public void setTargetId(String targetId)
      Sets the target ID.
      Parameters:
      targetId - id of the element to read or modify
    • setTargetType

      public void setTargetType(BoundTargetType targetType)
      Sets the target type.
      Parameters:
      targetType - type value to use
    • toString

      public String toString()
      Builds a debug string for this comment binding.
      Overrides:
      toString in class Object
      Returns:
      a debug string for this object