org.okiproject.serviceapi.roles
Class Field

java.lang.Object
  |
  +--org.okiproject.serviceapi.roles.Field
All Implemented Interfaces:
java.io.Serializable

public class Field
extends java.lang.Object
implements java.io.Serializable

Copyright (c) 2001 Massachusetts Institute of Technology

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

$Source: /cvs/oki/org/okiproject/serviceapi/doc/roles/org/okiproject/serviceapi/roles/Field.html,v $

See Also:
FieldValue, RolesFactory, Serialized Form

Constructor Summary
Field(java.lang.Object id)
          Constructor Field
Field(java.lang.String name)
          Constructor Field
Field(java.lang.String name, java.lang.String description)
          Constructor Field
 
Method Summary
 java.lang.String getDescription()
          Method getDescription
 java.lang.Object getId()
          Method getId
 java.lang.String getName()
          Method getName
 void setDescription(java.lang.String description)
          Method setDescription
 void setId(java.lang.Object id)
          Method setId
 void setName(java.lang.String name)
          Method setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field(java.lang.String name)
Constructor Field
Parameters:
name -  

Field

public Field(java.lang.String name,
             java.lang.String description)
Constructor Field
Parameters:
name -  
description -  

Field

public Field(java.lang.Object id)
Constructor Field
Parameters:
id -  
Method Detail

getId

public java.lang.Object getId()
Method getId
Returns:
 

setId

public void setId(java.lang.Object id)
Method setId
Parameters:
id -  

getName

public java.lang.String getName()
Method getName
Returns:
 

setName

public void setName(java.lang.String name)
Method setName
Parameters:
name -  

getDescription

public java.lang.String getDescription()
Method getDescription
Returns:
 

setDescription

public void setDescription(java.lang.String description)
Method setDescription
Parameters:
description -