|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.glossary.GlossaryWord
GlossaryWord represent the word / definition pairs in a Glossary
Field Summary |
Fields inherited from class com.arsdigita.kernel.ACSObject |
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE, versionId |
Constructor Summary | |
GlossaryWord(BigDecimal key)
Constructor. |
|
GlossaryWord(com.arsdigita.persistence.DataObject dataObject)
|
|
GlossaryWord(com.arsdigita.persistence.OID oid)
Constructor. |
|
GlossaryWord(String typeName)
Constructor. |
Method Summary | |
protected String |
getBaseDataObjectType()
Returns the appropriate object type for a GlossaryWord so that proper type validation will occur when retrieving Glossary's by OID |
com.arsdigita.util.TypedText |
getDefinition()
|
Glossary |
getGlossary()
|
String |
getWord()
|
void |
setDefinition(com.arsdigita.util.TypedText definition)
|
void |
setWord(String word)
|
String |
toString()
returns the word. |
Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, beforeSave, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, isContainerModified, setID, setID |
Methods inherited from class com.arsdigita.domain.ObservableDomainObject |
addObserver, getObservers |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, 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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GlossaryWord(String typeName)
DataObject
is
initialized with a new DataObject
with an
ObjectType
specified by the string
typeName.
typeName
- The name of the ObjectType
of the
contained DataObject
.DataObject
,
ObjectType
public GlossaryWord(com.arsdigita.persistence.OID oid) throws com.arsdigita.domain.DataObjectNotFoundException
oid
- The OID
for the retrieved
DataObject
.
com.arsdigita.domain.DataObjectNotFoundException
- Thrown if we cannot
retrieve a data object for the specified OIDDataObject
,
OID
public GlossaryWord(BigDecimal key) throws com.arsdigita.domain.DataObjectNotFoundException
key
- The ID for the object to be retrieved.
object.
com.arsdigita.domain.DataObjectNotFoundException
- Thrown if we cannot
retrieve a data object for the specified OIDpublic GlossaryWord(com.arsdigita.persistence.DataObject dataObject)
Method Detail |
protected String getBaseDataObjectType()
public Glossary getGlossary()
public String getWord()
public void setWord(String word)
public com.arsdigita.util.TypedText getDefinition()
public void setDefinition(com.arsdigita.util.TypedText definition)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |