@Platform(value="linux") @Platform(value="windows") public abstract class NamedEntity<T extends NamedEntity> extends Entity implements Comparable<T>
| Constructor and Description |
|---|
NamedEntity() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(T obj) |
abstract String |
getDefinition()
Getter for the definition of the entity.
|
abstract String |
getName()
Getter for the name of the entity.
|
abstract String |
getType()
Getter for the type of the entity.
|
abstract void |
setDefinition(String definition)
Setter for the definition of the entity.
|
abstract void |
setType(String type)
Setter for the type of the entity.
|
equals, forceCreatedAt, forceUpdatedAt, getCreatedAt, getId, getUpdatedAt, hashCode, setCreatedAt, setUpdatedAtisInitialized, isNonepublic abstract void setType(String type)
type - The type to set.public abstract String getType()
The property type is used in order to allow the specification of additional semantic meaning for an entity and therefore can introduce domain-specificity into the quite generic data model.
public abstract String getName()
The name of an entity serves as a human readable identifier. It is not obliged
to be unique. However it is strongly recommended to use unique name inside one specific
Block.
public abstract void setDefinition(String definition)
definition - The definition of the entity.public abstract String getDefinition()
The definition is an optional property that allows the user to add a freely assignable textual definition to the entity.
public int compareTo(T obj)
compareTo in interface Comparable<T extends NamedEntity>Copyright © 2016. All rights reserved.