Package com._1c.g5.v8.dt.erd.model
Class ErdEntityComment
java.lang.Object
com._1c.g5.v8.dt.erd.model.ErdEntityComment
Representation of entity comment.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom._1c.g5.v8.dt.diagram.framework.model.Point
Returns position translate from parent.getValue()
boolean
Returnstrue
if commented.boolean
Returnstrue
if comment is visible.void
setPositionTranslate
(com._1c.g5.v8.dt.diagram.framework.model.Point positionTranslate) Sets position translate from parentvoid
void
setVisible
(boolean isVisible) Sets comment visible or not.
-
Constructor Details
-
ErdEntityComment
public ErdEntityComment()Constructor
-
-
Method Details
-
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()Returnstrue
if comment is visible.- Returns:
true
if comment is visible.
-
isCommented
public boolean isCommented()Returnstrue
if commented.- Returns:
true
if commented.
-
setValue
- 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
- -true
if comment should be visible.
-