|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xebialabs.deployit.reflect.ConfigurationItemPropertyDescriptor
public class ConfigurationItemPropertyDescriptor
Describes a property of a ConfigurationItem.
| Constructor Summary | |
|---|---|
ConfigurationItemPropertyDescriptor()
Deprecated. Needed for BlazeDS. Do not invoke! |
|
ConfigurationItemPropertyDescriptor(ConfigurationItemDescriptor owningCIDescriptor,
ConfigurationItemPropertyDescriptor owningPropertyDescriptor,
java.lang.reflect.Field field,
java.lang.String defaultValue,
boolean isTopLevelClass)
Constructs a ConfigurationItemPropertyDescriptor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCategory()
Gets the category of this property. |
java.lang.Class<?> |
getCollectionMemberClass()
Gets the collection member class, if this property is an ConfigurationItemPropertyType.LIST_OF_OBJECTS |
java.lang.String |
getCollectionMemberClassname()
Gets the collection member class name, if this property is an ConfigurationItemPropertyType.LIST_OF_OBJECTS |
static ConfigurationItemPropertyDescriptor[] |
getConfigurationItemPropertyDescriptorsForListObject(ConfigurationItemDescriptor owningCIDescriptor,
ConfigurationItemPropertyDescriptor owningPropertyDescriptor,
java.lang.Class<?> listObjectClass)
Constructs a list of ConfigurationItemPropertyDescriptors. |
static ConfigurationItemPropertyDescriptor[] |
getConfigurationItemPropertyDescriptorsForTopLevelClass(ConfigurationItemDescriptor owningCIDescriptor,
java.lang.Class<?> typeClass,
java.util.Map<java.lang.String,java.lang.String> configuredDefaults,
java.lang.String defaultValueKeyPrefix)
Constructs a list of ConfigurationItemPropertyDescriptors. |
java.lang.String |
getDefaultValue()
|
java.lang.String |
getDescription()
Gets the description of this property. |
java.lang.String[] |
getEnumValues()
Gets the enum values, if this property is an ConfigurationItemPropertyType.ENUM |
java.lang.String |
getLabel()
Gets the label of this property. |
ConfigurationItemPropertyDescriptor[] |
getListObjectPropertyDescriptors()
Gets the property descriptors of the collection member classes, if this property is an ConfigurationItemPropertyType.LIST_OF_OBJECTS |
java.lang.String |
getName()
Gets the name of this property. |
ConfigurationItemDescriptor |
getOwningConfigurationItemDescriptor()
Gets the descriptor of the configuration item that has this property. |
ConfigurationItemPropertyDescriptor |
getOwningPropertyDescriptor()
Gets the descriptor of the property that has this property. |
java.lang.Class<?> |
getPropertyClass()
Gets the class of this property. |
java.lang.String |
getPropertyClassname()
Gets the class name of this property |
ConfigurationItemPropertyDescriptor |
getPropertyDescriptor(java.lang.String propertyName)
Gets the property descriptor for a named property of the collection member class, if this property is an ConfigurationItemPropertyType.LIST_OF_OBJECTS |
ConfigurationItemPropertyDescriptor[] |
getPropertyDescriptors()
|
java.lang.reflect.Field |
getPropertyField()
Gets the Field for this property. |
java.lang.Object |
getPropertyValueFromConfigurationItem(java.lang.Object configurationItem)
Gets a property from a configuration item. |
ConfigurationItemProperty.Size |
getSize()
Gets the display size of this property. |
ConfigurationItemPropertyType |
getType()
Gets the type of this property. |
boolean |
isEditable()
Return whether this property is a editable. |
boolean |
isIdentifying()
Return whether this property is an identifying property. |
boolean |
isPassword()
Return whether this property is a password. |
boolean |
isRequired()
Return whether this property is required. |
void |
setCategory(java.lang.String grouping)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setCollectionMemberClassname(java.lang.String collectionMemberClassname)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setDefaultValue(java.lang.String defaultValue)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setDescription(java.lang.String description)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setEditable(boolean editable)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setEnumValues(java.lang.String[] enumValues)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setIdentifying(boolean identifying)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setLabel(java.lang.String label)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setListObjectPropertyDescriptors(ConfigurationItemPropertyDescriptor[] listObjectPropertyDescriptors)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setName(java.lang.String name)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setOwningConfigurationItemDescriptor(ConfigurationItemDescriptor configurationItemDescriptor)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setOwningPropertyDescriptor(ConfigurationItemPropertyDescriptor owningPropertyDescriptor)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setPassword(boolean password)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setPropertyClassname(java.lang.String propertyClassname)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setPropertyValueInConfigurationItem(java.lang.Object configurationItem,
java.lang.Object value)
Sets a property value on a configuration item. |
void |
setRequired(boolean required)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setSize(ConfigurationItemProperty.Size size)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setType(ConfigurationItemPropertyType type)
Deprecated. Needed for BlazeDS. Do not invoke! |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationItemPropertyDescriptor()
public ConfigurationItemPropertyDescriptor(ConfigurationItemDescriptor owningCIDescriptor,
ConfigurationItemPropertyDescriptor owningPropertyDescriptor,
java.lang.reflect.Field field,
java.lang.String defaultValue,
boolean isTopLevelClass)
| Method Detail |
|---|
public static ConfigurationItemPropertyDescriptor[] getConfigurationItemPropertyDescriptorsForListObject(ConfigurationItemDescriptor owningCIDescriptor,
ConfigurationItemPropertyDescriptor owningPropertyDescriptor,
java.lang.Class<?> listObjectClass)
public static ConfigurationItemPropertyDescriptor[] getConfigurationItemPropertyDescriptorsForTopLevelClass(ConfigurationItemDescriptor owningCIDescriptor,
java.lang.Class<?> typeClass,
java.util.Map<java.lang.String,java.lang.String> configuredDefaults,
java.lang.String defaultValueKeyPrefix)
public java.lang.Object getPropertyValueFromConfigurationItem(java.lang.Object configurationItem)
configurationItem - the configuration item to get the property value from.
public void setPropertyValueInConfigurationItem(java.lang.Object configurationItem,
java.lang.Object value)
configurationItem - the configuration item to set the value on.value - the value to setpublic ConfigurationItemDescriptor getOwningConfigurationItemDescriptor()
public void setOwningConfigurationItemDescriptor(ConfigurationItemDescriptor configurationItemDescriptor)
public ConfigurationItemPropertyDescriptor getOwningPropertyDescriptor()
public void setOwningPropertyDescriptor(ConfigurationItemPropertyDescriptor owningPropertyDescriptor)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.reflect.Field getPropertyField()
Field for this property.
public ConfigurationItemPropertyType getType()
public void setType(ConfigurationItemPropertyType type)
public java.lang.String getPropertyClassname()
public void setPropertyClassname(java.lang.String propertyClassname)
public java.lang.Class<?> getPropertyClass()
public java.lang.String[] getEnumValues()
ConfigurationItemPropertyType.ENUM
ConfigurationItemPropertyType.ENUM,public void setEnumValues(java.lang.String[] enumValues)
public java.lang.String getCollectionMemberClassname()
ConfigurationItemPropertyType.LIST_OF_OBJECTS
ConfigurationItemPropertyType.LIST_OF_OBJECTS,public void setCollectionMemberClassname(java.lang.String collectionMemberClassname)
public java.lang.Class<?> getCollectionMemberClass()
ConfigurationItemPropertyType.LIST_OF_OBJECTS
ConfigurationItemPropertyType.LIST_OF_OBJECTS.public ConfigurationItemPropertyDescriptor[] getListObjectPropertyDescriptors()
ConfigurationItemPropertyType.LIST_OF_OBJECTS
ConfigurationItemPropertyType.LIST_OF_OBJECTS.public ConfigurationItemPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface ConfigurationItemPropertyHoldergetListObjectPropertyDescriptors().public ConfigurationItemPropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
ConfigurationItemPropertyType.LIST_OF_OBJECTS
getPropertyDescriptor in interface ConfigurationItemPropertyHolderpropertyName - the name of the property sought after.
ConfigurationItemPropertyType.LIST_OF_OBJECTS.public void setListObjectPropertyDescriptors(ConfigurationItemPropertyDescriptor[] listObjectPropertyDescriptors)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public boolean isRequired()
public void setRequired(boolean required)
public boolean isPassword()
public void setPassword(boolean password)
public boolean isEditable()
public void setEditable(boolean editable)
public boolean isIdentifying()
public void setIdentifying(boolean identifying)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
public java.lang.String getCategory()
public void setCategory(java.lang.String grouping)
public ConfigurationItemProperty.Size getSize()
public void setSize(ConfigurationItemProperty.Size size)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||