public static class RoleResponsibility.Builder extends Object implements RoleResponsibilityContract, ModelBuilder, ModelObjectComplete
Modifier and Type | Method and Description |
---|---|
RoleResponsibility |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static RoleResponsibility.Builder |
create() |
static RoleResponsibility.Builder |
create(RoleResponsibilityContract rrContract) |
static RoleResponsibility.Builder |
create(String roleId,
String responsibilityId) |
boolean |
equals(Object obj)
All "Complete" model object's should adhere to the
ModelObjectComplete.equals(Object) contract. |
String |
getResponsibilityId()
Returns the String identifier for the Responsibility represented by this Role/Responsibility association.
|
String |
getRoleId()
Returns the String identifier for the Role represented by this Role/Responsibility association.
|
String |
getRoleResponsibilityId()
Provides the String identifier for a given RoleResponsibility
|
Long |
getVersionNumber()
Returns the version number for this object.
|
int |
hashCode()
All "Complete" model object's should adhere to the
ModelObjectComplete.hashCode() contract. |
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setResponsibilityId(String responsibilityId) |
void |
setRoleId(String roleId) |
void |
setRoleResponsibilityId(String roleResponsibilityId) |
void |
setVersionNumber(Long versionNumber) |
String |
toString()
This will return a proper string representation of the Model Object.
|
public static RoleResponsibility.Builder create()
public static RoleResponsibility.Builder create(String roleId, String responsibilityId)
public static RoleResponsibility.Builder create(RoleResponsibilityContract rrContract)
public RoleResponsibility build()
ModelBuilder
build
in interface ModelBuilder
public String getRoleResponsibilityId()
RoleResponsibilityContract
getRoleResponsibilityId
in interface RoleResponsibilityContract
public void setRoleResponsibilityId(String roleResponsibilityId)
public String getRoleId()
RoleResponsibilityContract
getRoleId
in interface RoleResponsibilityContract
public String getResponsibilityId()
RoleResponsibilityContract
getResponsibilityId
in interface RoleResponsibilityContract
public void setResponsibilityId(String responsibilityId)
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public int hashCode()
ModelObjectComplete
ModelObjectComplete.hashCode()
contract.hashCode
in interface ModelObjectComplete
hashCode
in class Object
public boolean equals(Object obj)
ModelObjectComplete
ModelObjectComplete.equals(Object)
contract.equals
in interface ModelObjectComplete
equals
in class Object
obj
- to object to compare for equalitypublic String toString()
ModelObjectBasic
toString
in interface ModelObjectBasic
toString
in class Object
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.