org.kuali.kpme.core.role.location
Class LocationPrincipalRoleMemberBo.Builder
java.lang.Object
org.kuali.kpme.core.role.location.LocationPrincipalRoleMemberBo.Builder
- All Implemented Interfaces:
- Serializable, org.kuali.rice.core.api.mo.ModelBuilder, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.core.api.mo.ModelObjectComplete
- Enclosing class:
- LocationPrincipalRoleMemberBo
public static final class LocationPrincipalRoleMemberBo.Builder
- extends Object
- implements org.kuali.rice.core.api.mo.ModelBuilder, org.kuali.rice.core.api.mo.ModelObjectComplete
- See Also:
- Serialized Form
Method Summary |
LocationPrincipalRoleMemberBo |
build()
|
static LocationPrincipalRoleMemberBo.Builder |
create(org.kuali.rice.kim.api.role.RoleMemberContract contract)
|
static LocationPrincipalRoleMemberBo.Builder |
create(String roleId,
String id,
String memberId,
org.kuali.rice.core.api.membership.MemberType memberType,
org.joda.time.DateTime activeFromDate,
org.joda.time.DateTime activeToDate,
Map<String,String> attributes,
String memberName,
String memberNamespaceCode)
|
boolean |
equals(Object obj)
|
org.joda.time.DateTime |
getActiveFromDate()
|
org.joda.time.DateTime |
getActiveToDate()
|
Map<String,String> |
getAttributes()
|
String |
getId()
|
String |
getMemberId()
|
String |
getObjectId()
|
String |
getRoleId()
|
org.kuali.rice.core.api.membership.MemberType |
getType()
|
Long |
getVersionNumber()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isActive(org.joda.time.DateTime activeAsOfDate)
|
void |
setActiveFromDate(org.joda.time.DateTime activeFromDate)
|
void |
setActiveToDate(org.joda.time.DateTime activeToDate)
|
void |
setAttributes(Map<String,String> attributes)
|
void |
setId(String id)
|
void |
setMemberId(String memberId)
|
void |
setObjectId(String objectId)
|
void |
setRoleId(String roleId)
|
void |
setType(org.kuali.rice.core.api.membership.MemberType type)
|
void |
setVersionNumber(Long versionNumber)
|
String |
toString()
|
create
public static LocationPrincipalRoleMemberBo.Builder create(String roleId,
String id,
String memberId,
org.kuali.rice.core.api.membership.MemberType memberType,
org.joda.time.DateTime activeFromDate,
org.joda.time.DateTime activeToDate,
Map<String,String> attributes,
String memberName,
String memberNamespaceCode)
create
public static LocationPrincipalRoleMemberBo.Builder create(org.kuali.rice.kim.api.role.RoleMemberContract contract)
build
public LocationPrincipalRoleMemberBo build()
- Specified by:
build
in interface org.kuali.rice.core.api.mo.ModelBuilder
getId
public String getId()
setId
public void setId(String id)
getRoleId
public String getRoleId()
setRoleId
public void setRoleId(String roleId)
getAttributes
public Map<String,String> getAttributes()
setAttributes
public void setAttributes(Map<String,String> attributes)
getMemberId
public String getMemberId()
setMemberId
public void setMemberId(String memberId)
getType
public org.kuali.rice.core.api.membership.MemberType getType()
setType
public void setType(org.kuali.rice.core.api.membership.MemberType type)
getActiveFromDate
public org.joda.time.DateTime getActiveFromDate()
setActiveFromDate
public void setActiveFromDate(org.joda.time.DateTime activeFromDate)
getActiveToDate
public org.joda.time.DateTime getActiveToDate()
setActiveToDate
public void setActiveToDate(org.joda.time.DateTime activeToDate)
isActive
public boolean isActive(org.joda.time.DateTime activeAsOfDate)
isActive
public boolean isActive()
getVersionNumber
public Long getVersionNumber()
setVersionNumber
public void setVersionNumber(Long versionNumber)
getObjectId
public String getObjectId()
setObjectId
public void setObjectId(String objectId)
hashCode
public int hashCode()
- Specified by:
hashCode
in interface org.kuali.rice.core.api.mo.ModelObjectComplete
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface org.kuali.rice.core.api.mo.ModelObjectComplete
- Overrides:
equals
in class Object
toString
public String toString()
- Specified by:
toString
in interface org.kuali.rice.core.api.mo.ModelObjectBasic
- Overrides:
toString
in class Object
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.