public class ContentType extends java.lang.Object implements ContentTypeIf
| Constructor and Description |
|---|
ContentType()
Constructor
|
ContentType(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the ContentType object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
int |
getContentTypeId() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
ContentTypeDescriptionIf |
getDescription() |
int |
getId() |
void |
setContentTypeId(int contentTypeId) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setDescription(ContentTypeDescriptionIf description) |
void |
setId(int id) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public ContentType()
public ContentType(com.workingdogs.village.Record vr,
KKCriteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column namescom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public int getId()
getId in interface ContentTypeIfpublic void setId(int id)
setId in interface ContentTypeIfid - the id to setpublic java.lang.String getCustom1()
getCustom1 in interface ContentTypeIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface ContentTypeIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface ContentTypeIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface ContentTypeIfcustom2 - the custom2 to setpublic int getContentTypeId()
getContentTypeId in interface ContentTypeIfpublic void setContentTypeId(int contentTypeId)
setContentTypeId in interface ContentTypeIfcontentTypeId - the contentTypeId to setpublic ContentTypeDescriptionIf getDescription()
getDescription in interface ContentTypeIfpublic void setDescription(ContentTypeDescriptionIf description)
setDescription in interface ContentTypeIfdescription - the description to setCopyright © 2018 DS Data Systems UK Ltd.