org.kuali.rice.kim.bo.reference.dto
Class KimCodeInfoBase

java.lang.Object
  extended by org.kuali.rice.kim.bo.reference.dto.KimCodeInfoBase
All Implemented Interfaces:
Serializable, KimCode, BusinessObject, ExternalizableBusinessObject, Inactivateable, KualiCode
Direct Known Subclasses:
AddressTypeInfo, AffiliationTypeInfo, CitizenshipStatusInfo, EmailTypeInfo, EmploymentStatusInfo, EmploymentTypeInfo, EntityNameTypeInfo, EntityTypeInfo, ExternalIdentifierTypeInfo, PhoneTypeInfo

public abstract class KimCodeInfoBase
extends Object
implements KimCode

This is a description of what this class does - jonathan don't forget to fill this in.

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

Field Summary
protected  boolean active
           
protected  String code
           
protected  String displaySortCode
           
protected  String name
           
private static long serialVersionUID
           
 
Constructor Summary
KimCodeInfoBase()
           
KimCodeInfoBase(KimCode kimCode)
           
 
Method Summary
 boolean equals(Object obj)
          Implements equals comparing code to code.
 String getCode()
           
 String getDisplaySortCode()
           
 String getName()
           
 int hashCode()
          Overriding equals requires writing a hashCode method.
 boolean isActive()
          Indicates whether the record is active or inactive.
 void prepareForWorkflow()
          This overridden method ...
 void refresh()
          Refreshes any reference objects from the primitive values.
 void setActive(boolean active)
          Sets the record to active or inactive.
 void setCode(String code)
           
 void setDisplaySortCode(String displaySortCode)
           
 void setName(String name)
           
 String toString()
          This overridden method ...
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

code

protected String code

name

protected String name

active

protected boolean active

displaySortCode

protected String displaySortCode
Constructor Detail

KimCodeInfoBase

public KimCodeInfoBase()

KimCodeInfoBase

public KimCodeInfoBase(KimCode kimCode)
Method Detail

getCode

public String getCode()
Specified by:
getCode in interface KualiCode
Returns:
the code

setCode

public void setCode(String code)
Specified by:
setCode in interface KualiCode
Parameters:
code - the code to set

getName

public String getName()
Specified by:
getName in interface KualiCode
Returns:
the name

setName

public void setName(String name)
Specified by:
setName in interface KualiCode
Parameters:
name - the name to set

toString

public String toString()
This overridden method ...

Overrides:
toString in class Object
See Also:
org.kuali.core.bo.BusinessObjectBase#toStringMapper()

isActive

public boolean isActive()
Description copied from interface: Inactivateable
Indicates whether the record is active or inactive.

Specified by:
isActive in interface Inactivateable
Specified by:
isActive in interface KualiCode
Returns:
Getter for the active field.
See Also:
org.kuali.core.bo.KualiCode#isActive()

setActive

public void setActive(boolean active)
Description copied from interface: Inactivateable
Sets the record to active or inactive.

Specified by:
setActive in interface Inactivateable
Specified by:
setActive in interface KualiCode
See Also:
org.kuali.core.bo.KualiCode#setActive(boolean)

equals

public boolean equals(Object obj)
Implements equals comparing code to code.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overriding equals requires writing a hashCode method.

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

getDisplaySortCode

public String getDisplaySortCode()
Returns:
the displaySortCode

setDisplaySortCode

public void setDisplaySortCode(String displaySortCode)
Parameters:
displaySortCode - the displaySortCode to set

prepareForWorkflow

public void prepareForWorkflow()
This overridden method ...

Specified by:
prepareForWorkflow in interface BusinessObject
See Also:
BusinessObject.prepareForWorkflow()

refresh

public void refresh()
Description copied from interface: BusinessObject
Refreshes any reference objects from the primitive values.

Specified by:
refresh in interface BusinessObject


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.