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.Object
public java.lang.String toStringBrief()
public int getId()
getId
in interface ContentTypeIf
public void setId(int id)
setId
in interface ContentTypeIf
id
- the id to setpublic java.lang.String getCustom1()
getCustom1
in interface ContentTypeIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface ContentTypeIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface ContentTypeIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface ContentTypeIf
custom2
- the custom2 to setpublic int getContentTypeId()
getContentTypeId
in interface ContentTypeIf
public void setContentTypeId(int contentTypeId)
setContentTypeId
in interface ContentTypeIf
contentTypeId
- the contentTypeId to setpublic ContentTypeDescriptionIf getDescription()
getDescription
in interface ContentTypeIf
public void setDescription(ContentTypeDescriptionIf description)
setDescription
in interface ContentTypeIf
description
- the description to setCopyright © 2018 DS Data Systems UK Ltd.