@ProviderType public class OrgGroupRoleWrapper extends java.lang.Object implements OrgGroupRole, ModelWrapper<OrgGroupRole>
This class is a wrapper for OrgGroupRole.
OrgGroupRole,
Serialized Form| Constructor and Description |
|---|
OrgGroupRoleWrapper(OrgGroupRole orgGroupRole) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(OrgGroupRole orgGroupRole) |
boolean |
containsGroup(java.util.List<Group> groups) |
boolean |
containsOrganization(java.util.List<Organization> organizations) |
boolean |
equals(java.lang.Object obj) |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this org group role.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getOrganizationId()
Returns the organization ID of this org group role.
|
OrgGroupRolePK |
getPrimaryKey()
Returns the primary key of this org group role.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRoleId()
Returns the role ID of this org group role.
|
OrgGroupRole |
getWrappedModel() |
OrgGroupRole |
getWrappedOrgGroupRole()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
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 |
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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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(java.io.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. |
java.lang.String |
toString() |
OrgGroupRole |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public OrgGroupRoleWrapper(OrgGroupRole orgGroupRole)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<OrgGroupRole>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<OrgGroupRole>public OrgGroupRolePK getPrimaryKey()
getPrimaryKey in interface OrgGroupRoleModelpublic void setPrimaryKey(OrgGroupRolePK primaryKey)
setPrimaryKey in interface OrgGroupRoleModelprimaryKey - the primary key of this org group rolepublic long getOrganizationId()
getOrganizationId in interface OrgGroupRoleModelpublic void setOrganizationId(long organizationId)
setOrganizationId in interface OrgGroupRoleModelorganizationId - the organization ID of this org group rolepublic long getGroupId()
getGroupId in interface OrgGroupRoleModelpublic void setGroupId(long groupId)
setGroupId in interface OrgGroupRoleModelgroupId - the group ID of this org group rolepublic long getRoleId()
getRoleId in interface OrgGroupRoleModelpublic void setRoleId(long roleId)
setRoleId in interface OrgGroupRoleModelroleId - the role ID of this org group rolepublic 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 void setNew(boolean n)
BaseModelsetNew in interface BaseModel<OrgGroupRole>setNew in interface OrgGroupRoleModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<OrgGroupRole>setCachedModel in interface OrgGroupRoleModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<OrgGroupRole>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface OrgGroupRoleModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<OrgGroupRole>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface OrgGroupRoleModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<OrgGroupRole>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface OrgGroupRoleModelpublic 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 java.lang.Object clone()
BaseModelclone in interface BaseModel<OrgGroupRole>clone in interface OrgGroupRoleModelclone in class java.lang.Objectpublic int compareTo(OrgGroupRole orgGroupRole)
compareTo in interface OrgGroupRoleModelcompareTo in interface java.lang.Comparable<OrgGroupRole>public int hashCode()
hashCode in interface OrgGroupRoleModelhashCode in class java.lang.Objectpublic 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 java.lang.String toString()
toString in interface OrgGroupRoleModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<OrgGroupRole>toXmlString in interface OrgGroupRoleModelpublic boolean containsGroup(java.util.List<Group> groups)
containsGroup in interface OrgGroupRolepublic boolean containsOrganization(java.util.List<Organization> organizations)
containsOrganization in interface OrgGroupRolepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic OrgGroupRole getWrappedOrgGroupRole()
getWrappedModel()public OrgGroupRole getWrappedModel()
getWrappedModel in interface ModelWrapper<OrgGroupRole>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<OrgGroupRole>