com.sas.drugdev.remote.type
Class TypeProperty

java.lang.Object
  extended by com.sas.drugdev.remote.type.TypeProperty

public final class TypeProperty
extends java.lang.Object

The TypeProperty class describes a property defined for a specific Type.


Method Summary
 java.lang.String getDefaultValue()
          Get the default value for this property if no value was specified
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getName()
          Get the name of this property
 java.util.List getPossibleValues()
          Returns a List of possible values this property can have.
 boolean isRequired()
          Return whether this property is required to have a value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Get the name of this property

Returns:
Returns the name.

isRequired

public boolean isRequired()
Return whether this property is required to have a value.

Returns:
whether this property is required to have a value.

getDefaultValue

public java.lang.String getDefaultValue()
Get the default value for this property if no value was specified

Returns:
the default value for this property

getPossibleValues

public java.util.List getPossibleValues()
Returns a List of possible values this property can have. If the property is not an enumeration, as defined in the underlying validation subsystem, it returns an empty list.

Returns:
Unmodifiable list of possible values for this property.

getDisplayName

public java.lang.String getDisplayName()

getDescription

public java.lang.String getDescription()