ContentEntity Class
- public class ContentEntity
extends Object
implements Serializable
A ContentEntity is an object that is identified in the content
management system by a unique id.
-
Hierarchy
-
Object
ContentEntity
-
All Implemented Interfaces
-
Serializable
-
Direct Known Subclasses
-
Node
, ObjectClass
, Property
, PropertyChoice
, PropertyDefinition
public ID |
-
getId ()
- An id that uniquely identifies this entity to the repository.
|
public void |
-
setId (ID id)
- Sets a unique id for this entity.
|
public String |
-
toString ()
- Returns the attributes of this entity in a String.
|
id
protected ID
id
ContentEntity
public ContentEntity()
- Empty constructor.
ContentEntity
public ContentEntity(ID
id)
- Constructor with ID.
getId() Method
public ID
getId()
An id that uniquely identifies this entity to the repository.
setId(ID) Method
public void setId(ID
id)
Sets a unique id for this entity.
toString() Method
public String
toString()
Returns the attributes of this entity in a String.
-
Overrides
-
Object.toString()