Package com._1c.g5.v8.dt.erd.model
Class ErdEntityComment
- java.lang.Object
-
- com._1c.g5.v8.dt.erd.model.ErdEntityComment
-
public class ErdEntityComment extends Object
Representation of entity comment.
-
-
Constructor Summary
Constructors Constructor Description ErdEntityComment()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com._1c.g5.v8.dt.diagram.framework.model.PointgetPositionTranslate()Returns position translate from parent.StringgetValue()booleanisCommented()Returnstrueif commented.booleanisVisible()Returnstrueif comment is visible.voidsetPositionTranslate(com._1c.g5.v8.dt.diagram.framework.model.Point positionTranslate)Sets position translate from parentvoidsetValue(String value)voidsetVisible(boolean isVisible)Sets comment visible or not.
-
-
-
Method Detail
-
getValue
public String getValue()
- Returns:
- the comment. Can't return
null.
-
getPositionTranslate
public com._1c.g5.v8.dt.diagram.framework.model.Point getPositionTranslate()
Returns position translate from parent.- Returns:
- the position translate. Can't return
null.
-
isVisible
public boolean isVisible()
Returnstrueif comment is visible.- Returns:
trueif comment is visible.
-
isCommented
public boolean isCommented()
Returnstrueif commented.- Returns:
trueif commented.
-
setValue
public void setValue(String value)
- Parameters:
value- - the value to set. Can't benull.
-
setPositionTranslate
public void setPositionTranslate(com._1c.g5.v8.dt.diagram.framework.model.Point positionTranslate)
Sets position translate from parent- Parameters:
positionTranslate- - the position translate to set. Can't benull.
-
setVisible
public void setVisible(boolean isVisible)
Sets comment visible or not.- Parameters:
isVisible- -trueif comment should be visible.
-
-