public class Unit extends KraPersistableBusinessObjectBase implements org.kuali.rice.core.api.mo.common.active.MutableInactivatable
UPDATE_USER_LENGTH| Constructor and Description |
|---|
Unit() |
| Modifier and Type | Method and Description |
|---|---|
List |
buildListOfDeletionAwareLists() |
boolean |
equals(Object obj) |
String |
getCode() |
Organization |
getOrganization()
Returns the organization.
|
String |
getOrganizationId()
Returns the organization id.
|
String |
getOrganizationIdForMaintenance()
Gets the organizationIdForMaintenance attribute.
|
Unit |
getParentUnit() |
String |
getParentUnitNumber() |
List<UnitAdministrator> |
getUnitAdministrators() |
String |
getUnitName() |
String |
getUnitNumber() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isParentUnit(Unit parentCandidate)
Determine whether the given unit is a parent (or grandparent, etc) of this unit.
|
void |
setActive(boolean active) |
void |
setCode(String code) |
void |
setOrganization(Organization organization) |
void |
setOrganizationId(String organizationId) |
void |
setOrganizationIdForMaintenance(String organizationIdForMaintenance)
Sets the organizationIdForMaintenance attribute value.
|
void |
setParentUnit(Unit parentUnit) |
void |
setParentUnitNumber(String parentUnitNumber) |
void |
setUnitAdministrators(List<UnitAdministrator> unitAdministrators) |
void |
setUnitName(String unitName) |
void |
setUnitNumber(String unitNumber) |
getAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateTimestamp, setUpdateUser, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberpublic String getUnitNumber()
public void setUnitNumber(String unitNumber)
public String getParentUnitNumber()
public void setParentUnitNumber(String parentUnitNumber)
public String getOrganizationId()
public void setOrganizationId(String organizationId)
public String getUnitName()
public void setUnitName(String unitName)
public String getCode()
public void setCode(String code)
public boolean isActive()
isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatablepublic void setActive(boolean active)
setActive in interface org.kuali.rice.core.api.mo.common.active.MutableInactivatablepublic Organization getOrganization()
public void setOrganization(Organization organization)
public Unit getParentUnit()
public void setParentUnit(Unit parentUnit)
public List<UnitAdministrator> getUnitAdministrators()
public void setUnitAdministrators(List<UnitAdministrator> unitAdministrators)
public String getOrganizationIdForMaintenance()
public void setOrganizationIdForMaintenance(String organizationIdForMaintenance)
organizationIdForMaintenance - The organizationIdForMaintenance to set.public boolean isParentUnit(Unit parentCandidate)
parentCandidate - public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.krad.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class org.kuali.rice.krad.bo.PersistableBusinessObjectBasepublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2013 The Kuali Foundation. All Rights Reserved.