public class CustomProperty
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_PROPERTY_TYPE_BOOLEAN |
static int |
CUSTOM_PROPERTY_TYPE_CALCULATED |
static int |
CUSTOM_PROPERTY_TYPE_DATE |
static int |
CUSTOM_PROPERTY_TYPE_INT |
static int |
CUSTOM_PROPERTY_TYPE_LISTMULTI |
static int |
CUSTOM_PROPERTY_TYPE_LISTSINGLE |
static int |
CUSTOM_PROPERTY_TYPE_STRING |
| Constructor and Description |
|---|
CustomProperty() |
| Modifier and Type | Method and Description |
|---|---|
long |
getChangedAt()
Gets the timestamp when this custom property was last changed.
|
java.lang.String |
getChangedBy()
Gets the user who last changed this custom property.
|
long |
getCreatedAt()
Gets the timestamp when this custom property was created.
|
java.lang.String |
getCreatedBy()
Gets the user who created this custom property.
|
CustomPropertyListItem[] |
getListItems()
Gets the list of items for this custom property.
|
java.lang.Double |
getMaxVal()
Gets the maximum value of this custom property if it is of a numeric type.
|
java.lang.Double |
getMinVal()
Gets the minimum value of this custom property if it is of a numeric type.
|
int |
getPrecision()
Gets the precision of this custom property if it is of a numeric type.
|
int |
getProjectID()
Gets the ID of the project this custom property belongs to.
|
int |
getPropertyId()
Gets the ID of the custom property.
|
java.lang.String |
getPropertyName()
Gets the name of the custom property.
|
int |
getType()
Gets the type of the custom property.
|
void |
setChangedAt(long changedAt)
Sets the timestamp when this custom property was last changed.
|
void |
setChangedBy(java.lang.String changedBy)
Sets the user who last changed this custom property.
|
void |
setCreatedAt(long createdAt)
Sets the timestamp when this custom property was created.
|
void |
setCreatedBy(java.lang.String createdBy)
Sets the user who created this custom property.
|
void |
setListItems(CustomPropertyListItem[] listItems)
Sets the list of items for this custom property.
|
void |
setMaxVal(java.lang.Double mMaxVal)
Sets the maximum value of this custom property if it is of a numeric type.
|
void |
setMinVal(java.lang.Double mMinVal)
Sets the minimum value of this custom property if it is of a numeric type.
|
void |
setPrecision(int mPrecision)
Sets the precision of this custom property if it is of a numeric type.
|
void |
setProjectID(int projectID)
Sets the ID of the project this custom property belongs to.
|
void |
setPropertyId(int propertyId)
Sets the ID of the custom property.
|
void |
setPropertyName(java.lang.String propertyName)
Sets the name of the custom property.
|
void |
setType(int type)
Sets the type of the custom property.
|
public static final int CUSTOM_PROPERTY_TYPE_INT
public static final int CUSTOM_PROPERTY_TYPE_STRING
public static final int CUSTOM_PROPERTY_TYPE_BOOLEAN
public static final int CUSTOM_PROPERTY_TYPE_DATE
public static final int CUSTOM_PROPERTY_TYPE_LISTSINGLE
public static final int CUSTOM_PROPERTY_TYPE_LISTMULTI
public static final int CUSTOM_PROPERTY_TYPE_CALCULATED
public int getType()
CUSTOM_PROPERTY_TYPE_INT = 1CUSTOM_PROPERTY_TYPE_STRING = 2CUSTOM_PROPERTY_TYPE_BOOLEAN = 3CUSTOM_PROPERTY_TYPE_DATE = 4CUSTOM_PROPERTY_TYPE_LISTSINGLE = 5CUSTOM_PROPERTY_TYPE_LISTMULTI = 6CUSTOM_PROPERTY_TYPE_CALCULATED = 7public void setType(int type)
getType() for valid types.type - public int getProjectID()
public void setProjectID(int projectID)
projectID - public java.lang.String getCreatedBy()
public void setCreatedBy(java.lang.String createdBy)
createdBy - public long getCreatedAt()
public void setCreatedAt(long createdAt)
createdAt - public java.lang.String getChangedBy()
public void setChangedBy(java.lang.String changedBy)
changedBy - public long getChangedAt()
public void setChangedAt(long changedAt)
changedAt - public int getPropertyId()
public void setPropertyId(int propertyId)
propertyId - public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
propertyName - public CustomPropertyListItem[] getListItems()
public void setListItems(CustomPropertyListItem[] listItems)
listItems - public int getPrecision()
public void setPrecision(int mPrecision)
mPrecision - public java.lang.Double getMinVal()
public void setMinVal(java.lang.Double mMinVal)
mMinVal - public java.lang.Double getMaxVal()
public void setMaxVal(java.lang.Double mMaxVal)
mMaxVal - Copyright © Micro Focus 2004-2019. All rights reserved.