|
|||||||||
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 String |
ASSOCIATION_CUTPOINT
|
static String |
CATEGORY_CLASS
|
static int |
CATEGORY_LOWER
|
static int |
CATEGORY_UPPER
|
static String |
FIRST_LEVEL_CUTPOINT
|
static String |
HIERARCHY_CUTPOINT
|
Constructor Summary | |
---|---|
Category()
Default constructor. |
|
Category(String name,
int type)
Constructor based on name and type. |
|
Category(String id,
String name,
int type)
Constructor from parameters. |
Method Summary | |
---|---|
Map |
getExtendedProperties()
Get the extended properties for the Asset. |
String |
getId()
Get the unique identifier of the Category. |
String |
getName()
Get the name of the Category. |
int |
getType()
Get the type of the Category. |
void |
setExtendedProperties(Map extendedProperties)
Sets the extended properties for the Asset. |
void |
setId(String id)
Sets the unique identifier of the Category. |
void |
setName(String name)
Sets the name of the Category. |
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 String CATEGORY_CLASS
public static final String ASSOCIATION_CUTPOINT
public static final String HIERARCHY_CUTPOINT
public static final String FIRST_LEVEL_CUTPOINT
public static final transient int CATEGORY_UPPER
public static final transient int CATEGORY_LOWER
Constructor Detail |
---|
public Category(String name, int type)
name
- A name for the Categorytype
- A type (0/1) for the Categorypublic Category()
public Category(String id, 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 String getId()
public String getName()
public int getType()
public void setId(String id)
id
- The unique identifier of the Category.public void setName(String name)
name
- The name of the Category.public Map getExtendedProperties()
Map
of extended properties for the Asset.public void setExtendedProperties(Map extendedProperties)
extendedProperties
- The Map
of extended properties for the Asset.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |