@ProviderType public class OrgGroupRoleWrapper extends Object implements OrgGroupRole, ModelWrapper<OrgGroupRole>
This class is a wrapper for OrgGroupRole.
OrgGroupRole,
Serialized FormGROUP_ID_ACCESSOR, ORGANIZATION_ID_ACCESSOR, ROLE_ID_ACCESSOR| Constructor and Description |
|---|
OrgGroupRoleWrapper(OrgGroupRole orgGroupRole) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(OrgGroupRole orgGroupRole) |
boolean |
containsGroup(List<Group> groups) |
boolean |
containsOrganization(List<Organization> organizations) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this org group role.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this org group role.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this org group role.
|
long |
getOrganizationId()
Returns the organization ID of this org group role.
|
OrgGroupRolePK |
getPrimaryKey()
Returns the primary key of this org group role.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRoleId()
Returns the role ID of this org group role.
|
OrgGroupRole |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this org group role.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Sets the group ID of this org group role.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this org group role.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setOrganizationId(long organizationId)
Sets the organization ID of this org group role.
|
void |
setPrimaryKey(OrgGroupRolePK primaryKey)
Sets the primary key of this org group role.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRoleId(long roleId)
Sets the role ID of this org group role.
|
CacheModel<OrgGroupRole> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
OrgGroupRole |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
OrgGroupRole |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public OrgGroupRoleWrapper(OrgGroupRole orgGroupRole)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<OrgGroupRole>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<OrgGroupRole>public CacheModel<OrgGroupRole> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<OrgGroupRole>toCacheModel in interface OrgGroupRoleModelpublic OrgGroupRole toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<OrgGroupRole>toEscapedModel in interface OrgGroupRoleModelAutoEscapeBeanHandlerpublic OrgGroupRole toUnescapedModel()
toUnescapedModel in interface BaseModel<OrgGroupRole>toUnescapedModel in interface OrgGroupRoleModelpublic boolean containsGroup(List<Group> groups)
containsGroup in interface OrgGroupRolepublic boolean containsOrganization(List<Organization> organizations)
containsOrganization in interface OrgGroupRolepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<OrgGroupRole>isCachedModel in interface OrgGroupRoleModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<OrgGroupRole>isEscapedModel in interface OrgGroupRoleModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<OrgGroupRole>isNew in interface OrgGroupRoleModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<OrgGroupRole>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface OrgGroupRoleModelpublic OrgGroupRolePK getPrimaryKey()
getPrimaryKey in interface OrgGroupRoleModelpublic int compareTo(OrgGroupRole orgGroupRole)
compareTo in interface OrgGroupRoleModelcompareTo in interface Comparable<OrgGroupRole>public int hashCode()
hashCode in interface OrgGroupRoleModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<OrgGroupRole>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface OrgGroupRoleModelpublic Object clone()
BaseModelclone in interface BaseModel<OrgGroupRole>clone in interface OrgGroupRoleModelclone in class Objectpublic String toString()
toString in interface OrgGroupRoleModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<OrgGroupRole>toXmlString in interface OrgGroupRoleModelpublic long getCompanyId()
getCompanyId in interface OrgGroupRoleModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface OrgGroupRoleModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface OrgGroupRoleModelpublic long getOrganizationId()
getOrganizationId in interface OrgGroupRoleModelpublic long getRoleId()
getRoleId in interface OrgGroupRoleModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<OrgGroupRole>setCachedModel in interface OrgGroupRoleModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface OrgGroupRoleModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this org group rolepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<OrgGroupRole>setExpandoBridgeAttributes in interface OrgGroupRoleModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<OrgGroupRole>setExpandoBridgeAttributes in interface OrgGroupRoleModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<OrgGroupRole>setExpandoBridgeAttributes in interface OrgGroupRoleModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface OrgGroupRoleModelgroupId - the group ID of this org group rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface OrgGroupRoleModelmvccVersion - the mvcc version of this org group rolepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<OrgGroupRole>setNew in interface OrgGroupRoleModeln - whether this model instance does not yet exist in the databasepublic void setOrganizationId(long organizationId)
setOrganizationId in interface OrgGroupRoleModelorganizationId - the organization ID of this org group rolepublic void setPrimaryKey(OrgGroupRolePK primaryKey)
setPrimaryKey in interface OrgGroupRoleModelprimaryKey - the primary key of this org group rolepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<OrgGroupRole>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface OrgGroupRoleModelprimaryKeyObj - the primary key of this model instancepublic void setRoleId(long roleId)
setRoleId in interface OrgGroupRoleModelroleId - the role ID of this org group rolepublic OrgGroupRole getWrappedModel()
getWrappedModel in interface ModelWrapper<OrgGroupRole>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<OrgGroupRole>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<OrgGroupRole>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<OrgGroupRole>