Package lu.kbra.modelizer_next.domain
Class CommentBinding
java.lang.Object
lu.kbra.modelizer_next.domain.CommentBinding
Describes how a comment is bound to another model element or field.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a comment binding instance.CommentBinding(BoundTargetType targetType, String targetId) Creates a comment binding instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the target ID.Returns the target type.voidsetTargetId(String targetId) Sets the target ID.voidsetTargetType(BoundTargetType targetType) Sets the target type.toString()Builds a debug string for this comment binding.
-
Constructor Details
-
CommentBinding
public CommentBinding()Creates a comment binding instance. -
CommentBinding
Creates a comment binding instance.- Parameters:
targetType- type value to usetargetId- id of the element to read or modify
-
-
Method Details
-
getTargetId
Returns the target ID.- Returns:
- the target ID
-
getTargetType
Returns the target type.- Returns:
- the target type
-
setTargetId
Sets the target ID.- Parameters:
targetId- id of the element to read or modify
-
setTargetType
Sets the target type.- Parameters:
targetType- type value to use
-
toString
Builds a debug string for this comment binding.
-