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)
          Creates a new instance of complex PropertyTO
PropertyTO(String name, String claimType, String valueType, String[] value)
          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[] 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 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 org.eclipse.higgins.rpps.core.tobj.UIDescriptorTO
getInputMask, getOptionalValues, getPattern, getType, setInputMask, setOptionalValues, setPattern, setType
 
Methods inherited from class org.eclipse.higgins.rpps.core.tobj.BaseTransferObject
getName, setName
 
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)
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)
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.