@Entity public class ResponsibilityBo extends DataObjectBase implements ResponsibilityContract
objectId, versionNumber
Constructor and Description |
---|
ResponsibilityBo() |
Modifier and Type | Method and Description |
---|---|
static ResponsibilityBo |
from(Responsibility im)
Converts a immutable object to its mutable counterpart
|
boolean |
getActive() |
List<ResponsibilityAttributeBo> |
getAttributeDetails() |
Map<String,String> |
getAttributes()
Attributes for a Responsibility.
|
String |
getDescription()
The description of the Responsibility.
|
String |
getDetailObjectsToDisplay() |
String |
getDetailObjectsValues() |
String |
getId()
The unique identifier for an object.
|
String |
getName()
The name of the Responsibility.
|
String |
getNamespaceCode()
The namespace code that this Responsibility belongs too.
|
List<RoleResponsibilityBo> |
getRoleResponsibilities() |
ResponsibilityTemplateBo |
getTemplate()
The Template referenced by the Responsibility.
|
String |
getTemplateId() |
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setAttributeDetails(List<ResponsibilityAttributeBo> attributeDetails) |
void |
setAttributes(Map<String,String> attributes) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespaceCode(String namespaceCode) |
void |
setRoleResponsibilities(List<RoleResponsibilityBo> roleResponsibilities) |
void |
setTemplate(ResponsibilityTemplateBo template) |
void |
setTemplateId(String templateId) |
static Responsibility |
to(ResponsibilityContract bo)
Converts a mutable bo to its immutable counterpart
|
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
public ResponsibilityBo()
public Map<String,String> getAttributes()
ResponsibilityContract
getAttributes
in interface ResponsibilityContract
public static Responsibility to(ResponsibilityContract bo)
bo
- the mutable business objectpublic static ResponsibilityBo from(Responsibility im)
im
- immutable objectpublic ResponsibilityTemplateBo getTemplate()
ResponsibilityContract
getTemplate
in interface ResponsibilityContract
public String getDetailObjectsValues()
public String getDetailObjectsToDisplay()
public String getId()
Identifiable
getId
in interface Identifiable
public String getNamespaceCode()
ResponsibilityContract
getNamespaceCode
in interface ResponsibilityContract
public void setNamespaceCode(String namespaceCode)
public String getName()
ResponsibilityContract
getName
in interface ResponsibilityContract
public String getDescription()
ResponsibilityContract
getDescription
in interface ResponsibilityContract
public void setDescription(String description)
public String getTemplateId()
public void setTemplateId(String templateId)
public boolean getActive()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public void setTemplate(ResponsibilityTemplateBo template)
public List<ResponsibilityAttributeBo> getAttributeDetails()
public void setAttributeDetails(List<ResponsibilityAttributeBo> attributeDetails)
public List<RoleResponsibilityBo> getRoleResponsibilities()
public void setRoleResponsibilities(List<RoleResponsibilityBo> roleResponsibilities)
public void setAttributes(Map<String,String> attributes)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.