| java.lang.Object com.ivata.groupware.container.persistence.BaseDO
All known Subclasses: com.ivata.groupware.admin.security.user.UserDO, com.ivata.groupware.business.calendar.event.meeting.attendee.AttendeeDO, com.ivata.groupware.navigation.menu.MenuDO, com.ivata.groupware.business.library.topic.TopicDO, com.ivata.groupware.business.addressbook.address.AddressDO, com.ivata.groupware.business.addressbook.person.employee.EmployeeDO, com.ivata.groupware.business.addressbook.person.group.right.detail.RightDetailDO, com.ivata.groupware.business.calendar.event.meeting.agendapoint.AgendaPointDO, com.ivata.groupware.business.search.item.SearchItemDO, com.ivata.groupware.business.library.faq.FAQDO, com.ivata.groupware.container.persistence.AuthorTimestampDO, com.ivata.groupware.business.addressbook.person.group.right.RightDO, com.ivata.groupware.business.library.faq.category.FAQCategoryDO, com.ivata.groupware.admin.security.user.group.right.RightDO, com.ivata.groupware.business.drive.file.FileDO, com.ivata.groupware.business.search.stopword.SearchStopwordDO, com.ivata.groupware.business.search.item.content.SearchItemContentDO, com.ivata.groupware.admin.security.user.group.right.detail.RightDetailDO, com.ivata.groupware.business.mail.message.MessageDO, com.ivata.groupware.business.library.page.PageDO, com.ivata.groupware.business.calendar.event.meeting.category.MeetingCategoryDO, com.ivata.groupware.business.search.index.SearchIndexDO, com.ivata.groupware.business.addressbook.address.country.CountryDO, com.ivata.groupware.navigation.menu.item.MenuItemDO,
BaseDO | abstract public class BaseDO implements Serializable,ValueObject(Code) | |
This data object class is inherited by all others.
author: Colin MacLeod author: colin.macleod@ivata.com since: Mar 27, 2004 version: $Revision: 1.8 $ |
Method Summary | |
protected void | checkSetter()
Safety mechanism to check that the user has the rights to invokve setters
on this object. | public boolean | equals(Object compare) | public String | getDisplayValue()
This default implementation simply throws an exception. | public Integer | getId()
Override this method to return getIdImpl and set the
sequence name for hibernate. | final public String | getIdString()
Implementation for ivata masks interface ValueObject .
Identifies this value object uniquely. | public int | hashCode() | public boolean | isReadOnly() | final public void | setId(Integer idParam)
Unique identifier of this data object. | final public void | setIdString(String idString) Set the value as a string. | public void | setReadOnly(boolean readOnlyParam) | public String | toString()
Provide helpful debugging info about this data object. |
checkSetter | protected void checkSetter()(Code) | |
Safety mechanism to check that the user has the rights to invokve setters
on this object. Throws a RuntimeException if the object is
read-only.
You should call this method in all setters of subclasses.
|
equals | public boolean equals(Object compare)(Code) | | Parameters: compare - |
getDisplayValue | public String getDisplayValue()(Code) | |
This default implementation simply throws an exception.
This implementation always throws
UnsupportedOperationException ,
with a description of the subclass for which getDisplayValue
was not overridden.
See Also: com.ivata.mask.valueobject.ValueObject.getDisplayValue |
getId | public Integer getId()(Code) | |
Override this method to return getIdImpl and set the
sequence name for hibernate.
current value of the unique identifier of this dependent valueobject. |
getIdString | final public String getIdString()(Code) | |
Implementation for ivata masks interface ValueObject .
Identifies this value object uniquely. This value may only be
null for a new value object.
unique identifier for this value object. |
hashCode | public int hashCode()(Code) | | |
isReadOnly | public boolean isReadOnly()(Code) | | Stores whether users can simply view this value object, or may amend
its contents too.
Returns true if users are only allowed to viewthis object, not change it. |
setId | final public void setId(Integer idParam)(Code) | |
Unique identifier of this data object.
Parameters: idParam - current value of the unique identifier of this dataobject. |
setIdString | final public void setIdString(String idString)(Code) | | Set the value as a string. The string must represent a number or a
RuntimeException will be thrown.
Parameters: idString - string representing the id of this object. |
setReadOnly | public void setReadOnly(boolean readOnlyParam)(Code) | | Stores whether users can simply view this value object, or may amend
its contents too.
Refer to
BaseDO.isReadOnly .
Parameters: readOnlyParam - Refer to BaseDO.isReadOnly. |
toString | public String toString()(Code) | |
Provide helpful debugging info about this data object.
clear text describing this object. |
|
|