|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.location.impl.campus.CampusBo
@Entity public class CampusBo
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, newCollectionRecord, objectId, versionNumber |
Constructor Summary | |
---|---|
CampusBo()
|
Method Summary | |
---|---|
static CampusBo |
from(Campus im)
Converts a immutable object to its mutable counterpart |
CampusTypeBo |
getCampusType()
This is the campus type for the Campus. |
String |
getCampusTypeCode()
|
String |
getCode()
The code value for this object. |
String |
getName()
This is the name for the Campus. |
String |
getShortName()
This is the short name for the Campus. |
boolean |
isActive()
The active indicator for an object. |
void |
setActive(boolean active)
Sets the record to active or inactive. |
void |
setCampusType(CampusTypeBo campusType)
|
void |
setCampusTypeCode(String campusTypeCode)
|
void |
setCode(String code)
|
void |
setName(String name)
|
void |
setShortName(String shortName)
|
static Campus |
to(CampusBo bo)
Converts a mutable bo to its immutable counterpart |
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.location.framework.campus.CampusEbo |
---|
getObjectId, getVersionNumber |
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject |
---|
refresh |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public CampusBo()
Method Detail |
---|
public String getCode()
CampusEbo
getCode
in interface Coded
getCode
in interface CampusEbo
public void setCode(String code)
public String getName()
CampusEbo
It is a name a campus.
getName
in interface CampusContract
getName
in interface CampusEbo
public void setName(String name)
public String getShortName()
CampusEbo
It is a shorter name for a campus.
getShortName
in interface CampusContract
getShortName
in interface CampusEbo
public void setShortName(String shortName)
public String getCampusTypeCode()
public void setCampusTypeCode(String campusTypeCode)
public boolean isActive()
CampusEbo
isActive
in interface Inactivatable
isActive
in interface CampusEbo
public void setActive(boolean active)
CampusEbo
setActive
in interface MutableInactivatable
setActive
in interface CampusEbo
public CampusTypeBo getCampusType()
CampusEbo
It is a object that defines the type of a campus.
getCampusType
in interface CampusContract
getCampusType
in interface CampusEbo
public void setCampusType(CampusTypeBo campusType)
public static Campus to(CampusBo bo)
bo
- the mutable business object
public static CampusBo from(Campus im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |