|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.responsibility.Responsibility.Builder
public static final class Responsibility.Builder
This builder constructs a Responsibility enforcing the constraints of the ResponsibilityContract.
| Method Summary | |
|---|---|
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,
Template.Builder template)
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Responsibility.Builder create(String namespaceCode,
String name,
Template.Builder template)
public static Responsibility.Builder create(ResponsibilityContract contract)
ResponsibilityContract.
public String getId()
Identifiable
getId in interface Identifiablepublic void setId(String id)
public String getNamespaceCode()
ResponsibilityContract
getNamespaceCode in interface ResponsibilityContractpublic void setNamespaceCode(String namespaceCode)
public String getName()
ResponsibilityContract
getName in interface ResponsibilityContractpublic void setName(String name)
public String getDescription()
ResponsibilityContract
getDescription in interface ResponsibilityContractpublic void setDescription(String description)
public Template.Builder getTemplate()
ResponsibilityContract
getTemplate in interface ResponsibilityContractpublic void setTemplate(Template.Builder template)
public boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public Map<String,String> getAttributes()
ResponsibilityContract
getAttributes in interface ResponsibilityContractpublic void setAttributes(Map<String,String> attributes)
public Responsibility build()
ModelBuilder
build in interface ModelBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||