@MappedSuperclass public abstract class CodedAttributeBo extends DataObjectBase implements CodedAttributeContract
objectId, versionNumber
Constructor and Description |
---|
CodedAttributeBo() |
Modifier and Type | Method and Description |
---|---|
static <T extends CodedAttributeBo> |
from(Class<T> type,
CodedAttribute immutable)
Creates a EntityCitizenshipChangeTypeBo business object from an immutable representation of a
EntityCitizenshipChangeType.
|
String |
getCode()
The code value for this object.
|
String |
getName()
This the name for the AddressType.
|
String |
getSortCode()
This the sort code for the AddressType.
|
boolean |
isActive()
The active indicator for an object.
|
void |
refresh() |
void |
setActive(boolean active) |
void |
setCode(String code) |
void |
setName(String name) |
void |
setSortCode(String sortCode) |
static <T extends CodedAttributeBo> |
to(T bo)
Converts a mutable extension CodedAttributeBo to an immutable CodedAttribute representation.
|
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
public CodedAttributeBo()
public static <T extends CodedAttributeBo> CodedAttribute to(T bo)
bo
- public static <T extends CodedAttributeBo> T from(Class<T> type, CodedAttribute immutable)
immutable
- an immutable CodedAttributepublic String getCode()
Coded
public String getName()
CodedAttributeContract
getName
in interface CodedAttributeContract
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public String getSortCode()
CodedAttributeContract
getSortCode
in interface CodedAttributeContract
public void setSortCode(String sortCode)
public void refresh()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.