org.sakaiproject.tool.assessment.data.dao.shared
Class TypeD

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.data.dao.shared.TypeD
All Implemented Interfaces:
Serializable, TypeIfc

public class TypeD
extends Object
implements TypeIfc

See Also:
Serialized Form

Field Summary
static Long AUDIO_RECORDING
           
static Long DEFAULT_SECTION
           
static Long ESSAY_QUESTION
           
static Long FILE_UPLOAD
           
static Long FILL_IN_BLANK
           
static Long FINAL
           
static Long HOMEWORK
           
static Long MATCHING
           
static Long MIDTERM
           
static Long MULTIPLE_CHOICE
           
static Long MULTIPLE_CHOICE_SURVEY
           
static Long MULTIPLE_CORRECT
           
static Long QUIZ
           
static Long TEMPLATE_FINAL
           
static Long TEMPLATE_HOMEWORK
           
static Long TEMPLATE_MIDTERM
           
static Long TEMPLATE_QUIZ
           
static Long TRUE_FALSE
           
 
Fields inherited from interface org.sakaiproject.tool.assessment.data.ifc.shared.TypeIfc
DOMAIN_ASSESSMENT_ITEM, SITE_AUTHORITY
 
Constructor Summary
TypeD()
           
TypeD(String authority, String domain, String keyword)
           
TypeD(String authority, String domain, String keyword, String description)
           
TypeD(String authority, String domain, String keyword, String description, int status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate)
           
 
Method Summary
 String getAuthority()
           
 String getCreatedBy()
          Return the createdBy for this ItemType.
 Date getCreatedDate()
          Return the createdDate for this ItemType.
 String getDescription()
           
 String getDomain()
           
 String getKeyword()
          Return the Name for this ItemType.
 String getLastModifiedBy()
          Return the lastModifiedBy for this ItemType.
 Date getLastModifiedDate()
          Return the lastModifiedDate for this ItemType.
 int getStatus()
          Return the status for this ItemType.
 Long getTypeId()
          Return the itemTypeId from ItemType
 void setAuthority(String authority)
           
 void setCreatedBy(String createdBy)
          Set the createdBy for this ItemType.
 void setCreatedDate(Date createdDate)
          Set the createdDate for this ItemType.
 void setDescription(String description)
           
 void setDomain(String domain)
           
 void setKeyword(String keyword)
          Set the Name for this ItemType.
 void setLastModifiedBy(String lastModifiedBy)
          Set the lastModifiedBy for this ItemType.
 void setLastModifiedDate(Date lastModifiedDate)
          Set the lastModifiedDate for this ItemType.
 void setStatus(int status)
          Set the status for this ItemType.
 void setTypeId(Long typeId)
          Set the itemTypeID for this ItemType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MULTIPLE_CHOICE

public static Long MULTIPLE_CHOICE

MULTIPLE_CORRECT

public static Long MULTIPLE_CORRECT

MULTIPLE_CHOICE_SURVEY

public static Long MULTIPLE_CHOICE_SURVEY

TRUE_FALSE

public static Long TRUE_FALSE

ESSAY_QUESTION

public static Long ESSAY_QUESTION

FILE_UPLOAD

public static Long FILE_UPLOAD

AUDIO_RECORDING

public static Long AUDIO_RECORDING

FILL_IN_BLANK

public static Long FILL_IN_BLANK

MATCHING

public static Long MATCHING

DEFAULT_SECTION

public static Long DEFAULT_SECTION

TEMPLATE_QUIZ

public static Long TEMPLATE_QUIZ

TEMPLATE_HOMEWORK

public static Long TEMPLATE_HOMEWORK

TEMPLATE_MIDTERM

public static Long TEMPLATE_MIDTERM

TEMPLATE_FINAL

public static Long TEMPLATE_FINAL

QUIZ

public static Long QUIZ

HOMEWORK

public static Long HOMEWORK

MIDTERM

public static Long MIDTERM

FINAL

public static Long FINAL
Constructor Detail

TypeD

public TypeD()

TypeD

public TypeD(String authority,
             String domain,
             String keyword)

TypeD

public TypeD(String authority,
             String domain,
             String keyword,
             String description)

TypeD

public TypeD(String authority,
             String domain,
             String keyword,
             String description,
             int status,
             String createdBy,
             Date createdDate,
             String lastModifiedBy,
             Date lastModifiedDate)
Method Detail

getTypeId

public Long getTypeId()
Return the itemTypeId from ItemType

Specified by:
getTypeId in interface TypeIfc

setTypeId

public void setTypeId(Long typeId)
Set the itemTypeID for this ItemType.

Specified by:
setTypeId in interface TypeIfc

getAuthority

public String getAuthority()
Specified by:
getAuthority in interface TypeIfc

setAuthority

public void setAuthority(String authority)
Specified by:
setAuthority in interface TypeIfc

getDomain

public String getDomain()
Specified by:
getDomain in interface TypeIfc

setDomain

public void setDomain(String domain)
Specified by:
setDomain in interface TypeIfc

getKeyword

public String getKeyword()
Return the Name for this ItemType.

Specified by:
getKeyword in interface TypeIfc

setKeyword

public void setKeyword(String keyword)
Set the Name for this ItemType.

Specified by:
setKeyword in interface TypeIfc

getDescription

public String getDescription()
Specified by:
getDescription in interface TypeIfc

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface TypeIfc

getStatus

public int getStatus()
Return the status for this ItemType.

Specified by:
getStatus in interface TypeIfc

setStatus

public void setStatus(int status)
Set the status for this ItemType.

Specified by:
setStatus in interface TypeIfc

getCreatedBy

public String getCreatedBy()
Return the createdBy for this ItemType.

Specified by:
getCreatedBy in interface TypeIfc

setCreatedBy

public void setCreatedBy(String createdBy)
Set the createdBy for this ItemType.

Specified by:
setCreatedBy in interface TypeIfc

getCreatedDate

public Date getCreatedDate()
Return the createdDate for this ItemType.

Specified by:
getCreatedDate in interface TypeIfc

setCreatedDate

public void setCreatedDate(Date createdDate)
Set the createdDate for this ItemType.

Specified by:
setCreatedDate in interface TypeIfc

getLastModifiedBy

public String getLastModifiedBy()
Return the lastModifiedBy for this ItemType.

Specified by:
getLastModifiedBy in interface TypeIfc

setLastModifiedBy

public void setLastModifiedBy(String lastModifiedBy)
Set the lastModifiedBy for this ItemType.

Specified by:
setLastModifiedBy in interface TypeIfc

getLastModifiedDate

public Date getLastModifiedDate()
Return the lastModifiedDate for this ItemType.

Specified by:
getLastModifiedDate in interface TypeIfc

setLastModifiedDate

public void setLastModifiedDate(Date lastModifiedDate)
Set the lastModifiedDate for this ItemType.

Specified by:
setLastModifiedDate in interface TypeIfc