public class ProjectAttribute
extends java.lang.Object
| Constructor and Description |
|---|
ProjectAttribute() |
ProjectAttribute(int id,
java.lang.String name,
java.lang.String description,
java.lang.String type,
boolean active) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the description of the attribute
|
int |
getId()
Gets the Id of the attribute
|
java.lang.Double |
getMaxVal()
Gets the maximum value of the attribute if the type of the attribute is
NUMBER and 0 else. |
java.lang.Double |
getMinVal()
Gets the minimum value of the attribute if the type of the attribute is
NUMBER and 0 else. |
java.lang.String |
getName()
Gets the name of the attribute
|
AttributeOption[] |
getOptions()
Gets the options of the attribute
|
int |
getPrecision()
Gets the precision of the attribute if the type of the attribute is
NUMBER and 0 else. |
java.lang.String |
getType()
Gets the type of the attribute.
|
boolean |
isActive()
Gets the activity status of the attribute
|
void |
setActive(boolean active)
Sets the activity status of the attribute
|
void |
setDescription(java.lang.String description)
Sets the description of the attribute
|
void |
setId(int id)
Sets the Id of the attribute
|
void |
setMaxVal(java.lang.Double mMaxVal)
Sets the maximum value of the attribute
|
void |
setMinVal(java.lang.Double mMinVal)
Sets the minimum value of the attribute
|
void |
setName(java.lang.String name)
Sets the name of the attribute
|
void |
setOptions(AttributeOption[] options)
Sets the options of the attribute
|
void |
setPrecision(int mPrecision)
Sets the precision of the attribute
|
void |
setType(java.lang.String type)
Sets the type of the attribute
|
public ProjectAttribute()
public ProjectAttribute(int id,
java.lang.String name,
java.lang.String description,
java.lang.String type,
boolean active)
public int getId()
public void setId(int id)
id - public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - public java.lang.String getType()
EDIT (string), NORMAL (list of values), SET (list of values, multi-select), DATE or NUMBER.public void setType(java.lang.String type)
type - public boolean isActive()
public void setActive(boolean active)
active - public AttributeOption[] getOptions()
public void setOptions(AttributeOption[] options)
options - public int getPrecision()
NUMBER and 0 else.public void setPrecision(int mPrecision)
public java.lang.Double getMinVal()
NUMBER and 0 else.public void setMinVal(java.lang.Double mMinVal)
mMinVal - public java.lang.Double getMaxVal()
NUMBER and 0 else.public void setMaxVal(java.lang.Double mMaxVal)
mMaxVal - Copyright © Micro Focus 2004-2019. All rights reserved.