public interface ModelEntity extends PrimitiveModelEntity
Modifier and Type | Method and Description |
---|---|
ModelEntity |
active(boolean flag)
Makes the entity active or inactive.
|
java.lang.String |
author()
Returns the author of the entity.
|
ModelEntity |
author(java.lang.String name)
Sets the author of the entity.
|
java.lang.String |
comments()
Returns the comments of the entity.
|
ModelEntity |
comments(java.lang.String comment)
Sets the comments of the entity.
|
java.lang.String |
dateCreated()
Returns the creation date of the entity.
|
java.lang.String |
dateModified()
Returns the modification date of the model.
|
java.lang.String |
docMarker()
Returns the unique topic key for looking up help for this object using
a remote documentation client.
|
java.lang.String |
docMarker(java.lang.String name)
Returns the unique topic key for looking up help for this object using
a remote documentation client.
|
java.lang.String |
help()
Returns a URL to an HTML document with help text for a child of this
entity.
|
java.lang.String |
help(java.lang.String name)
Returns a URL to an HTML document with help text for a child of this
entity.
|
java.lang.String |
icon()
Returns the icon used in the Model Builder for this entity.
|
boolean |
isactive()
Deprecated.
Use
isActive() instead. |
boolean |
isActive()
Returns
true if the entity is active. |
java.lang.String |
label()
Returns the label of the entity.
|
ModelEntity |
label(java.lang.String label)
Sets the label of the entity.
|
java.lang.String |
lastModifiedBy()
Returns the last user to modify the model.
|
java.lang.String |
model()
Returns the model component node tag of the entity.
|
ModelEntity |
model(java.lang.String compTag)
Sets the model component node of the entity.
|
java.lang.String |
name()
Deprecated.
Use
label() instead. |
ModelEntity |
name(java.lang.String arg0)
Deprecated.
Use
label(String) instead. |
ModelEntity |
resetAuthor(java.lang.String name)
Sets the author of the entity and all its children.
|
java.lang.String |
scope()
Return the scope of the entity.
|
java.lang.String |
tag()
Returns the tag of the entity.
|
ModelEntity |
tag(java.lang.String tag)
Assigns a new tag to the entity.
|
long |
timeCreated()
Returns the creation time of the entity as the number of milliseconds
since January 1, 1970, 00:00:00 GMT.
|
long |
timeModified()
Returns the modification time of the entity as the number of
milliseconds since January 1, 1970, 00:00:00 GMT.
|
java.lang.String |
version()
Returns the version of the entity.
|
ModelEntity |
version(java.lang.String version)
Sets the version of the entity.
|
getContainer, getDisplayString
ModelEntity active(boolean flag)
flag
- true
: make active; false
: make inactive.java.lang.String author()
ModelEntity author(java.lang.String name)
name
- Name of author.java.lang.String comments()
ModelEntity comments(java.lang.String comment)
comment
- New comments.java.lang.String dateCreated()
java.lang.String dateModified()
java.lang.String docMarker()
java.lang.String docMarker(java.lang.String name)
name
- The child's type name.java.lang.String help()
java.lang.String help(java.lang.String name)
name
- The child's type name.java.lang.String icon()
null
is returned. The return value
is the name of the icon file in the folder data/images in the COMSOL
installation folder.null
.boolean isActive()
true
if the entity is active.true
if active.@Deprecated boolean isactive()
isActive()
instead.java.lang.String label()
ModelEntity label(java.lang.String label)
label
- Label for the entity.java.lang.String lastModifiedBy()
java.lang.String model()
ModelEntity model(java.lang.String compTag)
compTag
- Model component node tag.@Deprecated java.lang.String name()
label()
instead.@Deprecated ModelEntity name(java.lang.String arg0)
label(String)
instead.ModelEntity resetAuthor(java.lang.String name)
name
- Author name.java.lang.String scope()
java.lang.String tag()
ModelEntity tag(java.lang.String tag)
tag
- The old tag of the entity.long timeCreated()
dateCreated()
.long timeModified()
dateModified()
.java.lang.String version()
ModelEntity version(java.lang.String version)
version
- Version.