public static final class Responsibility.Builder extends Object implements ResponsibilityContract, ModelBuilder, Serializable
ResponsibilityContract.| Modifier and Type | Method and Description |
|---|---|
Responsibility |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
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()
The unique identifier for an object.
|
String |
getName()
The name of the Responsibility.
|
String |
getNamespaceCode()
The namespace code that this Responsibility belongs too.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
Template.Builder |
getTemplate()
The Template referenced by the Responsibility.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
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()
IdentifiablegetId 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()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUniquegetObjectId 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()
ModelBuilderbuild in interface ModelBuilderCopyright © 2005–2015 The Kuali Foundation. All rights reserved.