gov.nih.nci.evs.domain
Class Role

java.lang.Object
  extended bygov.nih.nci.evs.domain.Role
All Implemented Interfaces:
java.io.Serializable

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

This class encapsulates the name value Roles of EVS Concept object.

See Also:
Serialized Form

Constructor Summary
Role()
          Initializes a newly created Role object so that it represents an Role.
Role(java.lang.String name, java.lang.String value)
           
 
Method Summary
 java.lang.String getName()
          Returns the name
 java.lang.String getValue()
          Returns the value
 void setName(java.lang.String name)
          Sets the name for this Role object
 void setValue(java.lang.String value)
          Sets the value for this Role object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role()
Initializes a newly created Role object so that it represents an Role.


Role

public Role(java.lang.String name,
            java.lang.String value)
Method Detail

getName

public java.lang.String getName()
Returns the name

Returns:
the name for this Role object

getValue

public java.lang.String getValue()
Returns the value

Returns:
the value for this Role object

setName

public void setName(java.lang.String name)
Sets the name for this Role object

Parameters:
name - the name

setValue

public void setValue(java.lang.String value)
Sets the value for this Role object

Parameters:
value - the value