com.arsdigita.faq
Class QAPair

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.faq.QAPair

public class QAPair
extends com.arsdigita.kernel.ACSObject

Represents the question-answer pairs making up a FAQ


Field Summary
static String BASE_DATA_OBJECT_TYPE
           
static String versionId
           
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
QAPair()
           
QAPair(BigDecimal key)
           
QAPair(com.arsdigita.persistence.DataObject dataObj)
           
QAPair(com.arsdigita.persistence.metadata.ObjectType type)
           
QAPair(com.arsdigita.persistence.OID oid)
           
QAPair(String typeName)
           
 
Method Summary
 com.arsdigita.util.TypedText getAnswer()
           
protected  String getBaseDataObjectType()
           
 Faq getFaq()
           
 String getQuestion()
           
 Integer getSortKey()
           
 void setAnswer(com.arsdigita.util.TypedText answer)
           
 void setFaq(Faq faq)
           
 void setQuestion(String question)
           
 void setSortKey(Integer sortKey)
           
 
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, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
See Also:
Constant Field Values
Constructor Detail

QAPair

public QAPair()

QAPair

public QAPair(String typeName)

QAPair

public QAPair(com.arsdigita.persistence.metadata.ObjectType type)

QAPair

public QAPair(com.arsdigita.persistence.OID oid)
       throws com.arsdigita.domain.DataObjectNotFoundException

QAPair

public QAPair(BigDecimal key)
       throws com.arsdigita.domain.DataObjectNotFoundException

QAPair

public QAPair(com.arsdigita.persistence.DataObject dataObj)
Method Detail

getBaseDataObjectType

protected String getBaseDataObjectType()

getQuestion

public String getQuestion()

setQuestion

public void setQuestion(String question)

getFaq

public Faq getFaq()

setFaq

public void setFaq(Faq faq)

getSortKey

public Integer getSortKey()

setSortKey

public void setSortKey(Integer sortKey)

getAnswer

public com.arsdigita.util.TypedText getAnswer()

setAnswer

public void setAnswer(com.arsdigita.util.TypedText answer)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2346 UTC