com.jamasoftware.contour.ws.v3.domain
Class WsField

java.lang.Object
  extended by com.jamasoftware.contour.ws.v3.domain.WsField

public class WsField
extends java.lang.Object

This represents an item field. These are used to get the values of an item.

Author:
Dylan

Constructor Summary
WsField()
           
 
Method Summary
 java.lang.String[] getDisplays()
          Gets the field's display values.
 java.lang.Long getId()
          Gets the id of the field.
 java.lang.String getLabel()
          Gets the label of the field.
 java.lang.String getName()
          Gets the name of the field.
 java.lang.String getType()
          Gets the field type.
 java.lang.String[] getValues()
          Gets the values of the field.
 void setDisplays(java.lang.String[] displays)
          Sets the fields display values.
 void setId(java.lang.Long id)
          Sets the id of the field.
 void setLabel(java.lang.String label)
          Sets the label of the field.
 void setName(java.lang.String name)
          Sets the name of the field.
 void setType(java.lang.String type)
          Sets the field type.
 void setValues(java.lang.String[] values)
          Sets the values for the field.
 java.lang.String toString()
          Gets a string representation of this field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsField

public WsField()
Method Detail

getId

public java.lang.Long getId()
Gets the id of the field.

Returns:
the id

setId

public void setId(java.lang.Long id)
Sets the id of the field.

Parameters:
id - the id to set

getValues

public java.lang.String[] getValues()
Gets the values of the field.

Returns:
the values

setValues

public void setValues(java.lang.String[] values)
Sets the values for the field.

Parameters:
values - the values to set

getLabel

public java.lang.String getLabel()
Gets the label of the field.

Returns:
the label

setLabel

public void setLabel(java.lang.String label)
Sets the label of the field.

Parameters:
label - the label to set

getName

public java.lang.String getName()
Gets the name of the field.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name of the field.

Parameters:
name - the name to set

getType

public java.lang.String getType()
Gets the field type.

Returns:
the type

setType

public void setType(java.lang.String type)
Sets the field type.

Parameters:
type - the type to set

getDisplays

public java.lang.String[] getDisplays()
Gets the field's display values.

Returns:
field's display values

setDisplays

public void setDisplays(java.lang.String[] displays)
Sets the fields display values.

Parameters:
displays - field's display values

toString

public java.lang.String toString()
Gets a string representation of this field.

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.