| |
|
| java.lang.Object org.rapla.entities.storage.internal.SimpleEntity
All known Subclasses: org.rapla.entities.domain.internal.ReservationImpl, org.rapla.entities.configuration.internal.PreferencesImpl, org.rapla.entities.domain.internal.PeriodImpl, org.rapla.entities.domain.internal.AllocatableImpl, org.rapla.entities.dynamictype.internal.DynamicTypeImpl, org.rapla.entities.domain.internal.AppointmentImpl, org.rapla.entities.internal.UserImpl, org.rapla.entities.internal.CategoryImpl, org.rapla.entities.dynamictype.internal.AttributeImpl,
readOnly | transient boolean readOnly(Code) | | |
SimpleEntity | public SimpleEntity()(Code) | | |
checkWritable | public void checkWritable()(Code) | | |
copy | protected void copy(SimpleEntity entity)(Code) | | copies the references from the entity to this
|
findEntity | public Object findEntity(RefEntity copy)(Code) | | find the sub-entity that has the same id as the passed copy. Returns null, if the entity was not found.
|
getLastChangedBy | public User getLastChangedBy()(Code) | | |
getVersion | public long getVersion()(Code) | | |
hashCode | public int hashCode()(Code) | | The hashcode of the id-object will be returned.
the hashcode of the id. throws: IllegalStateException - if no id is set. |
isIdentical | final public boolean isIdentical(Entity ob2)(Code) | | |
isPersistant | public boolean isPersistant()(Code) | | |
isReadOnly | public boolean isReadOnly()(Code) | | |
setId | public void setId(Object id)(Code) | | sets the identifier for an object. The identifier should be
unique accross all entities (not only accross the entities of a
the same type). Once set, the identifier for an object should
not change. The identifier is necessary to store the relationsships
between enties.
See Also: SimpleIdentifier |
setLastChangedBy | public void setLastChangedBy(User user)(Code) | | |
setReadOnly | public void setReadOnly(boolean enable)(Code) | | |
setVersion | public void setVersion(long version)(Code) | | |
|
|
|