|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.icc.dbforms.obj.Category
public final class Category
POJO for a Category or Subcategory.
Category or Subcategory is determined by the type
.
type
= 0 implies Category
type
= 1 implies Subcategory
Field Summary | |
---|---|
static java.lang.String |
ASSOCIATION_CUTPOINT
For internal use. |
static java.lang.String |
CATEGORY_CLASS
For internal use. |
static int |
CATEGORY_LOWER
Constant to represent lower category. |
static int |
CATEGORY_UPPER
Constant to represent upper category. |
static java.lang.String |
FIRST_LEVEL_CUTPOINT
For internal use. |
static java.lang.String |
HIERARCHY_CUTPOINT
For internal use. |
Constructor Summary | |
---|---|
Category()
Default constructor. |
|
Category(java.lang.String name,
int type)
Constructor based on name and type. |
|
Category(java.lang.String id,
java.lang.String name,
int type)
Constructor from parameters. |
Method Summary | |
---|---|
java.util.Map |
getExtendedProperties()
Get the extended properties for the Asset. |
java.lang.String |
getId()
Get the unique identifier of the Category. |
java.lang.String |
getName()
Get the name of the Category. |
java.lang.String |
getNodeName()
Returns name of the category node. |
int |
getType()
Get the type of the Category. |
void |
setExtendedProperties(java.util.Map extendedProperties)
Sets the extended properties for the Asset. |
void |
setId(java.lang.String id)
Sets the unique identifier of the Category. |
void |
setName(java.lang.String name)
Sets the name of the Category. |
void |
setNodeName(java.lang.String nodeName)
Sets name of the category node. |
void |
setType(int type)
Sets the type of the Category. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CATEGORY_CLASS
public static final java.lang.String ASSOCIATION_CUTPOINT
public static final java.lang.String HIERARCHY_CUTPOINT
public static final java.lang.String FIRST_LEVEL_CUTPOINT
public static final transient int CATEGORY_UPPER
public static final transient int CATEGORY_LOWER
Constructor Detail |
---|
public Category(java.lang.String name, int type)
name
- A name for the Categorytype
- A type (0/1) for the Categorypublic Category()
public Category(java.lang.String id, java.lang.String name, int type)
id
- Category unique identifier.name
- Category display nametype
- Category type (CATEGORY_LOWER, CATEGORY_UPPER)Method Detail |
---|
public void setType(int type)
type
- The type of the Category.public java.lang.String getId()
public java.lang.String getName()
public int getType()
public void setId(java.lang.String id)
id
- The unique identifier of the Category.public void setName(java.lang.String name)
name
- The name of the Category.public java.util.Map getExtendedProperties()
Map
of extended properties for the Asset.public void setExtendedProperties(java.util.Map extendedProperties)
extendedProperties
- The Map
of extended properties for the Asset.public java.lang.String getNodeName()
public void setNodeName(java.lang.String nodeName)
nodeName
- node name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |