# com.bea.content
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`

## Field Summary

`protected `ID`` | `id` ID

## Constructor Summary

ContentEntity() Empty constructor.
ContentEntity(`ID` id) Constructor with ID.

## Method Summary

`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.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Field Detail

### id

    protected ID id

## Constructor Detail

### ContentEntity

    public ContentEntity()

  Empty constructor.

### ContentEntity

    public ContentEntity(ID id)

  Constructor with ID.

## Method Detail

### 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()`