public class AdminContentType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
contentTypeId
content_type_id - (business Id of the content type)
|
private java.lang.String |
custom1
custom1
|
private java.lang.String |
custom2
custom2
|
private java.util.Date |
dateAdded
Date Added
|
private AdminContentTypeDescription[] |
descriptions
Array of AdminContentTypeDescription objects
|
private int |
id
id - the internal (non-business id)
|
private java.lang.String |
name
name - the contentType name in the default language.
|
Constructor and Description |
---|
AdminContentType()
Constructor
|
AdminContentType(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminContentType object from a Record object
|
Modifier and Type | Method and Description |
---|---|
int |
getContentTypeId() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.util.Date |
getDateAdded() |
AdminContentTypeDescription[] |
getDescriptions() |
int |
getId() |
java.lang.String |
getName() |
void |
setContentTypeId(int contentTypeId) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setDateAdded(java.util.Date dateAdded) |
void |
setDescriptions(AdminContentTypeDescription[] descriptions) |
void |
setId(int id) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private int contentTypeId
private java.lang.String name
private java.lang.String custom1
private java.lang.String custom2
private java.util.Date dateAdded
private AdminContentTypeDescription[] descriptions
public AdminContentType()
public AdminContentType(com.workingdogs.village.Record vr, com.konakart.db.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()
public void setId(int id)
id
- the id to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic int getContentTypeId()
public void setContentTypeId(int contentTypeId)
contentTypeId
- the contentTypeId to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setpublic AdminContentTypeDescription[] getDescriptions()
public void setDescriptions(AdminContentTypeDescription[] descriptions)
descriptions
- the descriptions to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setCopyright © 2018 DS Data Systems UK Ltd.