Package com.jscape.util.reflection
Class PropertyDescriptor
- java.lang.Object
-
- com.jscape.util.reflection.PropertyDescriptor
-
public class PropertyDescriptor extends java.lang.ObjectAction property descriptor.
-
-
Constructor Summary
Constructors Constructor Description PropertyDescriptor(java.lang.String propertyName, boolean required)Deprecated.PropertyDescriptor(java.lang.String propertyName, boolean required, FieldType fieldType)Deprecated.PropertyDescriptor(java.lang.String propertyName, FieldType fieldType, boolean required, boolean advanced)PropertyDescriptor(java.lang.String propertyName, FieldType fieldType, boolean required, boolean advanced, java.lang.String groupName)PropertyDescriptor(java.lang.String propertyName, java.lang.String postLabel, FieldType fieldType, boolean required, boolean advanced)PropertyDescriptor(java.lang.String propertyName, java.lang.String postLabel, FieldType fieldType, boolean required, boolean advanced, java.lang.String groupName)PropertyDescriptor(java.lang.String propertyName, java.lang.String label, java.lang.String postLabel, FieldType fieldType, boolean required, boolean advanced, java.lang.String groupName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldTypegetFieldType()Return property type.java.lang.StringgetGroupName()java.lang.StringgetLabel()Returns property label.java.lang.StringgetPostLabel()Returns property post label.java.lang.StringgetPropertyName()Returns property name.booleanisAdvanced()Returns whether property is advanced.booleanisRequired()Returns whether property is required.java.lang.StringtoString()
-
-
-
Field Detail
-
propertyName
public final java.lang.String propertyName
-
label
public final java.lang.String label
-
postLabel
public final java.lang.String postLabel
-
fieldType
public final FieldType fieldType
-
required
public final boolean required
-
advanced
public final boolean advanced
-
groupName
public final java.lang.String groupName
-
-
Constructor Detail
-
PropertyDescriptor
public PropertyDescriptor(java.lang.String propertyName, java.lang.String label, java.lang.String postLabel, FieldType fieldType, boolean required, boolean advanced, java.lang.String groupName)
-
PropertyDescriptor
public PropertyDescriptor(java.lang.String propertyName, java.lang.String postLabel, FieldType fieldType, boolean required, boolean advanced, java.lang.String groupName)
-
PropertyDescriptor
public PropertyDescriptor(java.lang.String propertyName, java.lang.String postLabel, FieldType fieldType, boolean required, boolean advanced)
-
PropertyDescriptor
public PropertyDescriptor(java.lang.String propertyName, FieldType fieldType, boolean required, boolean advanced)
-
PropertyDescriptor
public PropertyDescriptor(java.lang.String propertyName, FieldType fieldType, boolean required, boolean advanced, java.lang.String groupName)
-
PropertyDescriptor
@Deprecated public PropertyDescriptor(java.lang.String propertyName, boolean required, FieldType fieldType)Deprecated.Creates new instance.- Parameters:
propertyName- the property namerequired- if property is requiredfieldType- the field type
-
PropertyDescriptor
@Deprecated public PropertyDescriptor(java.lang.String propertyName, boolean required)Deprecated.Creates new instance.- Parameters:
propertyName- the property name.required- if property is required
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName()
Returns property name.- Returns:
- the property name
-
getLabel
public java.lang.String getLabel()
Returns property label.- Returns:
- the property label
-
getPostLabel
public java.lang.String getPostLabel()
Returns property post label.- Returns:
- the post label
-
getFieldType
public FieldType getFieldType()
Return property type.- Returns:
- the field type
-
isRequired
public boolean isRequired()
Returns whether property is required.- Returns:
trueif property is required
-
isAdvanced
public boolean isAdvanced()
Returns whether property is advanced.- Returns:
trueif property is advanced.
-
getGroupName
public java.lang.String getGroupName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-