org.eclipse.higgins.rpps.core.tobj
Class PropertyTO

java.lang.Object
  extended byorg.eclipse.higgins.rpps.core.tobj.BaseTransferObject
      extended byorg.eclipse.higgins.rpps.core.tobj.UIDescriptorTO
          extended byorg.eclipse.higgins.rpps.core.tobj.PropertyTO
All Implemented Interfaces:
Serializable

public class PropertyTO
extends UIDescriptorTO
implements Serializable

The transfer object for the i-card property. A transfer object is a serializable class that groups related attributes, forming a composite value. This class is used as the return type of a WS business method.

Author:
Sergei Yakovlev
See Also:
Serialized Form

Constructor Summary
PropertyTO()
          Creates a new instance of PropertyTO
PropertyTO(String name, String claimType, PropertyTO[] complexValue, boolean visible)
          Creates a new instance of complex PropertyTO
PropertyTO(String name, String claimType, String valueType, String[] value, boolean visible)
          Creates a new instance of simple PropertyTO
 
Method Summary
 String getClaimType()
          Gets the claim type as a string.
 PropertyTO[] getComplexValue()
          Gets the complex property values.
 String getInputMask()
           
 String getName()
          Gets the name of transfer object.
 String[] getOptionalValues()
           
 String getPattern()
           
 int getType()
           
 String[] getValue()
          Gets the simple property values.
 String getValueType()
          Gets the simple value type (class) as a string.
 boolean isVisible()
           
 void setClaimType(String claimType)
          Sets the claim type.
 void setComplexValue(PropertyTO[] complexValue)
          Sets the complex property values.
 void setInputMask(String inputMask)
           
 void setName(String name)
          Sets the name of transfer object
 void setOptionalValues(String[] values)
           
 void setPattern(String pattern)
           
 void setType(int type)
           
 void setValue(String[] value)
          Sets the simple property values.
 void setValueType(String valueType)
          Sets the simple value type (class).
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyTO

public PropertyTO()
Creates a new instance of PropertyTO


PropertyTO

public PropertyTO(String name,
                  String claimType,
                  String valueType,
                  String[] value,
                  boolean visible)
Creates a new instance of simple PropertyTO

Parameters:
name - the property name.
value - the property value array.

PropertyTO

public PropertyTO(String name,
                  String claimType,
                  PropertyTO[] complexValue,
                  boolean visible)
Creates a new instance of complex PropertyTO

Parameters:
name - the property name.
complexValue - the complex property value array.
Method Detail

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

getValue

public String[] getValue()
Gets the simple property values.

Returns:
the property value array.

setValue

public void setValue(String[] value)
Sets the simple property values.

Parameters:
value - the property value array.

getComplexValue

public PropertyTO[] getComplexValue()
Gets the complex property values.

Returns:
the property value array.

setComplexValue

public void setComplexValue(PropertyTO[] complexValue)
Sets the complex property values.

Parameters:
complexValue - the property value array.

getValueType

public String getValueType()
Gets the simple value type (class) as a string.

Returns:
the simple value type as a string.

setValueType

public void setValueType(String valueType)
Sets the simple value type (class).

Parameters:
valueType - the simple value type as a string.

getClaimType

public String getClaimType()
Gets the claim type as a string.

Returns:
the claim type as a string.

setClaimType

public void setClaimType(String claimType)
Sets the claim type.

Parameters:
claimType - the claim type as a string.

getType

public int getType()

setType

public void setType(int type)

getOptionalValues

public String[] getOptionalValues()

setOptionalValues

public void setOptionalValues(String[] values)

getPattern

public String getPattern()

setPattern

public void setPattern(String pattern)

getInputMask

public String getInputMask()

setInputMask

public void setInputMask(String inputMask)

getName

public String getName()
Gets the name of transfer object.

Returns:
the name of transfer object.

setName

public void setName(String name)
Sets the name of transfer object

Parameters:
name - the name of transfer object.