public abstract class ContentNodeItem extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ContentNodeItem.ItemType
Types of items to be fetched with method
|
Constructor and Description |
---|
ContentNodeItem()
Default constructor needed by JAXB
|
ContentNodeItem(ContentNodeItem.ItemType type)
Create an empty instance of an item
|
Modifier and Type | Method and Description |
---|---|
int |
getCdate()
Creation date of the item
|
User |
getCreator()
Creator of the item
|
int |
getEdate()
Last Edit Date of the item
|
User |
getEditor()
Last editor of the item
|
Integer |
getId()
ID of the item
|
String |
getName()
Name of the item
|
ContentNodeItem.ItemType |
getType()
Item type
|
void |
setCdate(int cdate) |
void |
setCreator(User creator) |
void |
setEdate(int edate) |
void |
setEditor(User editor) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setType(ContentNodeItem.ItemType type)
Set the item type
|
public ContentNodeItem()
public ContentNodeItem(ContentNodeItem.ItemType type)
public Integer getId()
public String getName()
public User getCreator()
public int getCdate()
public User getEditor()
public int getEdate()
public ContentNodeItem.ItemType getType()
public void setId(Integer id)
id
- the id to setpublic void setName(String name)
name
- the name to setpublic void setCreator(User creator)
creator
- the creator to setpublic void setCdate(int cdate)
cdate
- the cdate to setpublic void setEditor(User editor)
editor
- the editor to setpublic void setEdate(int edate)
edate
- the edate to setpublic void setType(ContentNodeItem.ItemType type)
type
- item typeCopyright © 2014 Gentics Software GmbH. All rights reserved.