JSCAPE MFT Server

com.jscape.util.reflection
Class PropertyDescriptor

java.lang.Object
  extended by com.jscape.util.reflection.PropertyDescriptor

public class PropertyDescriptor
extends java.lang.Object

Action property descriptor.


Constructor Summary
PropertyDescriptor(java.lang.String propertyName, boolean required)
          Creates new instance.
PropertyDescriptor(java.lang.String propertyName, boolean required, FieldType fieldType)
          Creates new instance.
 
Method Summary
 FieldType getFieldType()
          Gets field type.
 java.lang.String getPropertyName()
          Gets property name.
 java.lang.String getReadablePropertyName()
           
 boolean isRequired()
          Gets whether property is required.
 java.lang.String toString()
          Gets property name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDescriptor

public PropertyDescriptor(java.lang.String propertyName,
                          boolean required)
Creates new instance.

Parameters:
propertyName - the property name.
required - if property is required

PropertyDescriptor

public PropertyDescriptor(java.lang.String propertyName,
                          boolean required,
                          FieldType fieldType)
Creates new instance.

Parameters:
propertyName - the property name
required - if property is required
fieldType - the field type
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Gets property name.

Returns:

getReadablePropertyName

public java.lang.String getReadablePropertyName()

isRequired

public boolean isRequired()
Gets whether property is required.

Returns:

getFieldType

public FieldType getFieldType()
Gets field type.

Returns:

toString

public java.lang.String toString()
Gets property name.

Overrides:
toString in class java.lang.Object

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved