public static final class Responsibility.Builder extends Object implements ResponsibilityContract, ModelBuilder, Serializable
ResponsibilityContract.| Modifier and Type | Method and Description |
|---|---|
Responsibility |
build() |
static Responsibility.Builder |
create(ResponsibilityContract contract)
Creates a Responsibility from an existing
ResponsibilityContract. |
static Responsibility.Builder |
create(String namespaceCode,
String name)
Creates a Responsibility with the required fields.
|
Map<String,String> |
getAttributes()
Attributes for a Responsibility.
|
String |
getDescription()
The description of the Responsibility.
|
String |
getId() |
String |
getName()
The name of the Responsibility.
|
String |
getNamespaceCode()
The namespace code that this Responsibility belongs too.
|
String |
getObjectId() |
Template.Builder |
getTemplate()
The Template referenced by the Responsibility.
|
Long |
getVersionNumber() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setAttributes(Map<String,String> attributes) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespaceCode(String namespaceCode) |
void |
setObjectId(String objectId) |
void |
setTemplate(Template.Builder template) |
void |
setVersionNumber(Long versionNumber) |
public static Responsibility.Builder create(String namespaceCode, String name)
public static Responsibility.Builder create(ResponsibilityContract contract)
ResponsibilityContract.public String getId()
getId in interface Identifiablepublic String getNamespaceCode()
ResponsibilityContractgetNamespaceCode in interface ResponsibilityContractpublic void setNamespaceCode(String namespaceCode)
public String getName()
ResponsibilityContractgetName in interface ResponsibilityContractpublic String getDescription()
ResponsibilityContractgetDescription in interface ResponsibilityContractpublic void setDescription(String description)
public Template.Builder getTemplate()
ResponsibilityContractgetTemplate in interface ResponsibilityContractpublic void setTemplate(Template.Builder template)
public boolean isActive()
isActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
getObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public Map<String,String> getAttributes()
ResponsibilityContractgetAttributes in interface ResponsibilityContractpublic void setAttributes(Map<String,String> attributes)
public Responsibility build()
build in interface ModelBuilderCopyright © 2005–2016 The Kuali Foundation. All rights reserved.