@Entity public class CampusBo extends PersistableBusinessObjectBase implements CampusEbo
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
CampusBo() |
Modifier and Type | Method and Description |
---|---|
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
|
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
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectId, getVersionNumber
refresh
toString
public CampusBo()
public String getCode()
CampusEbo
public String getName()
CampusEbo
It is a name a campus.
getName
in interface CampusContract
getName
in interface CampusEbo
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 objectCopyright © 2005–2014 The Kuali Foundation. All rights reserved.