public class PropertyMetaInfo
extends java.lang.Object
ExecutionPlanningService| Modifier and Type | Field and Description |
|---|---|
static int |
PROPERTY_TYPE_BOOLEAN
value
3. |
static int |
PROPERTY_TYPE_CALCULATED
value
14. |
static int |
PROPERTY_TYPE_CHAR
value
9. |
static int |
PROPERTY_TYPE_DATE
value
4. |
static int |
PROPERTY_TYPE_DOUBLE
value
6. |
static int |
PROPERTY_TYPE_EDIT
value
13. |
static int |
PROPERTY_TYPE_FLOAT
value
10. |
static int |
PROPERTY_TYPE_LIST
value
7. |
static int |
PROPERTY_TYPE_NORMAL
value
11. |
static int |
PROPERTY_TYPE_NUMBER
value
5. |
static int |
PROPERTY_TYPE_PASSWORD
value
8. |
static int |
PROPERTY_TYPE_SET
value
12. |
static int |
PROPERTY_TYPE_STRING
value
1. |
static int |
PROPERTY_TYPE_TEXT
value
2. |
| Constructor and Description |
|---|
PropertyMetaInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAllListValues()
Returns all possible values for this property.
|
java.lang.String |
getDefaultValue()
Gets the default value of this property.
|
java.lang.String |
getDescription()
Gets a description of the property.
|
java.lang.String |
getFormatString()
Gets a string representing any required format for this property, or null if no format is defined.
|
java.lang.String |
getId()
Gets the ID of this meta information.
|
boolean |
getIsEditable()
Returns
true if property can be changed, otherwise false. |
boolean |
getIsMultiSelect()
Returns true if this is a multi-select property.
|
boolean |
getIsOptional()
Returns true if this is an optional property.
|
java.lang.String |
getName()
Gets the name of the property that this meta information describes.
|
java.lang.String |
getPropertyTypeId()
Gets the ID of a property type, such as parameter, attribute, junit, etc.
|
int |
getType()
Gets the type of this property.
|
java.lang.String |
getTypeLabel()
Gets the string label of this type, for example "List", "SET", etc.
|
void |
setAllListValues(java.lang.String[] listValues) |
void |
setDefaultValue(java.lang.String defaultValue)
Sets the default value information.
|
void |
setDescription(java.lang.String description)
Sets the description for this property.
|
void |
setFormatString(java.lang.String formatString)
Sets the required format for this property.
|
void |
setId(java.lang.String id)
Sets the ID of this property meta information.
|
void |
setIsEditable(boolean isEditable) |
void |
setIsMultiSelect(boolean isMultiSelect) |
void |
setIsOptional(boolean isOptional)
A property is optional if an object can be created without specifying a value for this property.
|
void |
setName(java.lang.String name)
Sets the name of the property that this meta information describes.
|
void |
setPropertyTypeId(java.lang.String propertyTypeId) |
void |
setType(int type)
Sets the type information.
|
void |
setTypeLabel(java.lang.String typeLabel)
Sets the label of the required type of this property.
|
public static final int PROPERTY_TYPE_STRING
1. A textpublic static final int PROPERTY_TYPE_TEXT
2. A long textpublic static final int PROPERTY_TYPE_BOOLEAN
3. A boolean true or falsepublic static final int PROPERTY_TYPE_DATE
4. A datepublic static final int PROPERTY_TYPE_NUMBER
5. A non decimal numberpublic static final int PROPERTY_TYPE_DOUBLE
6. A double precision decimal valuepublic static final int PROPERTY_TYPE_LIST
7. A list of valuespublic static final int PROPERTY_TYPE_PASSWORD
8. A text that has to be stored encryptedpublic static final int PROPERTY_TYPE_CHAR
9. A single characterpublic static final int PROPERTY_TYPE_FLOAT
10. A single precision decimal valuepublic static final int PROPERTY_TYPE_NORMAL
11. A single value of a predefined set of valuespublic static final int PROPERTY_TYPE_SET
12. A subset of a predefined value setpublic static final int PROPERTY_TYPE_EDIT
13. Any textpublic static final int PROPERTY_TYPE_CALCULATED
14. A property calculated with an expression using other propertiespublic java.lang.String getId()
public java.lang.String getDescription()
public java.lang.String getName()
public boolean getIsOptional()
true if this property is optionalpublic java.lang.String getDefaultValue()
public int getType()
PROPERTY_TYPE_STRING, PROPERTY_TYPE_TEXT,
PROPERTY_TYPE_BOOLEAN, PROPERTY_TYPE_DATE, PROPERTY_TYPE_NUMBER,
PROPERTY_TYPE_DOUBLE, PROPERTY_TYPE_LIST, PROPERTY_TYPE_PASSWORD,
PROPERTY_TYPE_CHAR, PROPERTY_TYPE_FLOAT, PROPERTY_TYPE_CALCULATED,
PROPERTY_TYPE_NORMAL, PROPERTY_TYPE_SET, PROPERTY_TYPE_EDITpublic java.lang.String getTypeLabel()
public java.lang.String getFormatString()
public boolean getIsMultiSelect()
true if property is a list and can have more than one item selected, otherwise falsepublic java.lang.String[] getAllListValues()
public boolean getIsEditable()
true if property can be changed, otherwise false.true if property can be changed, otherwise falsepublic java.lang.String getPropertyTypeId()
public void setName(java.lang.String name)
name - new name for property meta informationpublic void setDescription(java.lang.String description)
description - new description for this property meta informationpublic void setId(java.lang.String id)
id - ID of this property meta informationpublic void setIsOptional(boolean isOptional)
isOptional - true, if optionalpublic void setDefaultValue(java.lang.String defaultValue)
defaultValue - new default value for this property meta infopublic void setType(int type)
type - new default type for this property meta infopublic void setFormatString(java.lang.String formatString)
formatString - New format string for this property meta infopublic void setAllListValues(java.lang.String[] listValues)
listValues - array of new values for selection for this propertypublic void setIsMultiSelect(boolean isMultiSelect)
isMultiSelect - true if list shall support multi-selectionpublic void setIsEditable(boolean isEditable)
isEditable - true if property value can be changedpublic void setTypeLabel(java.lang.String typeLabel)
typeLabel - the String label of the type, for example "List" or "Set"public void setPropertyTypeId(java.lang.String propertyTypeId)
propertyTypeId - the type ID of a PropertyValueCopyright © Micro Focus 2004-2019. All rights reserved.