|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.globalization.Charset
Charset DomainObject implements a persistent Charset object. A charset, or character set, is ...
Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
|
static String |
versionId
|
Constructor Summary | |
Charset()
Constructor. |
|
Charset(DataObject dataObject)
Constructor. |
|
Charset(OID oid)
Constructor. |
Method Summary | |
protected void |
afterDelete()
|
protected void |
afterSave()
|
String |
getBaseDataObjectType()
Returns the appropriate object type for a Charset so that the proper type validation can take place when retrieving Charset by OID. |
String |
getCharset()
Returns the charset. |
BigDecimal |
getID()
Return ID. |
protected void |
initialize()
Called from all of the DomainObject constructors
to initalize or validate the new domain object or its
encapsulated data object. |
void |
setCharset(String charset)
Set the charset |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, beforeDelete, beforeSave, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String versionId
public static final String BASE_DATA_OBJECT_TYPE
Constructor Detail |
public Charset()
Constructor. Retrieves an instance for a new Charset
public Charset(OID oid) throws DataObjectNotFoundException
Constructor. Retrieves a persistent Charset object from the database.
oid
- Object ID of the Charset to retrieve.
DataObjectNotFoundException
- Thrown if we cannot retrieve a
DataObject for the specified OID.public Charset(DataObject dataObject)
Constructor. Retrieves a persistent Charset object from the database.
dataObject
- DataObject of the Charset to retrieve.Method Detail |
protected void initialize()
DomainObject
DomainObject
constructors
to initalize or validate the new domain object or its
encapsulated data object. This was introduced in order to
support efficient validation of the encapsualted data object's
type. If the validation is typically performed in class
constructors, then redundant validation is performed in
superclass constructors. This validation now occurs here.
initialize
in class DomainObject
public String getBaseDataObjectType()
Returns the appropriate object type for a Charset so that the proper type validation can take place when retrieving Charset by OID.
getBaseDataObjectType
in class DomainObject
public BigDecimal getID()
Return ID.
public String getCharset()
Returns the charset.
public void setCharset(String charset)
Set the charset
protected void afterSave()
afterSave
in class DomainObject
protected void afterDelete()
afterDelete
in class DomainObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |