org.kuali.rice.kew.useroptions
Class UserOptionsId

java.lang.Object
  extended by org.kuali.rice.kew.useroptions.UserOptionsId
All Implemented Interfaces:
Serializable

public class UserOptionsId
extends Object
implements Serializable

Composite primary key for the UserOptions class.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
UserOptionsId()
          Default constructor
UserOptionsId(String workflowId, String optionId)
          Constructor to accept a workflow id and option id as parameters and instantiate the class.
 
Method Summary
 boolean equals(Object o)
          Determines if the given object is equal to the current class instance.
 String getOptionId()
          Returns the current option id
 String getWorkflowId()
          Returns the current workflow id.
 int hashCode()
          Method uses a HashCodeBuilder to create a composite hashcode.
 void setOptionId(String optionId)
           
 void setWorkflowId(String workflowId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserOptionsId

public UserOptionsId()
Default constructor


UserOptionsId

public UserOptionsId(String workflowId,
                     String optionId)
Constructor to accept a workflow id and option id as parameters and instantiate the class.

Parameters:
workflowId - the workflow id
optionId - the user option id
Method Detail

getOptionId

public String getOptionId()
Returns the current option id

Returns:
the current option id

setOptionId

public void setOptionId(String optionId)
See Also:
getOptionId()

getWorkflowId

public String getWorkflowId()
Returns the current workflow id.

Returns:
the current workflow id.

setWorkflowId

public void setWorkflowId(String workflowId)
See Also:
getWorkflowId()

equals

public boolean equals(Object o)
Determines if the given object is equal to the current class instance.

Overrides:
equals in class Object
Parameters:
o - the object to determine equality with.
Returns:
TRUE if the given object is equal to the current class instance, false otherwise.

hashCode

public int hashCode()
Method uses a HashCodeBuilder to create a composite hashcode.

Overrides:
hashCode in class Object
Returns:
the composite hashcode.


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.