Package com.avoka.fc.core.entity.auto
Class _Role
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._Role
-
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
- Direct Known Subclasses:
Role
public abstract class _Role extends BaseEntity
Provides the _Role database entity.
Please note this class was generated by Cayenne. You should avoid making changes to this class as it may be regenerated. Please make customizations to the entity subclass.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.cayenne.exp.Property<Boolean>
ACTIVE_FLAG
Provides the 'ACTIVE_FLAG' property.static String
ACTIVE_FLAG_PROPERTY
Provides the 'activeFlag' property name.static org.apache.cayenne.exp.Property<Boolean>
CLIENT_ASSIGNABLE_FLAG
Provides the 'CLIENT_ASSIGNABLE_FLAG' property.static String
CLIENT_ASSIGNABLE_FLAG_PROPERTY
Provides the 'clientAssignableFlag' property name.static org.apache.cayenne.exp.Property<String>
ROLE_DESCRIPTION
Provides the 'ROLE_DESCRIPTION' property.static String
ROLE_DESCRIPTION_PROPERTY
Provides the 'roleDescription' property name.static org.apache.cayenne.exp.Property<String>
ROLE_NAME
Provides the 'ROLE_NAME' property.static String
ROLE_NAME_PROPERTY
Provides the 'roleName' property name.static String
ROLE_OID_PK_COLUMN
Provides the 'role_oid' primary key database column name.static org.apache.cayenne.exp.Property<List<RolePermission>>
ROLE_PERMISSIONS
Provides the 'ROLE_PERMISSIONS' property.static String
ROLE_PERMISSIONS_PROPERTY
Provides the 'rolePermissions' relationship name.static org.apache.cayenne.exp.Property<List<UserRole>>
USER_ROLES
Provides the 'USER_ROLES' property.static String
USER_ROLES_PROPERTY
Provides the 'userRoles' relationship name.-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description _Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToRolePermissions(RolePermission obj)
Add the RolePermissions object.void
addToUserRoles(UserRole obj)
Add the UserRoles object.String
getRoleDescription()
Return the roleDescription value.String
getRoleName()
Return the roleName value.List<RolePermission>
getRolePermissions()
Return the RolePermissions.List<UserRole>
getUserRoles()
Return the UserRoles.boolean
isActiveFlag()
Return the activeFlag value.boolean
isClientAssignableFlag()
Return the clientAssignableFlag value.void
removeFromRolePermissions(RolePermission obj)
Remove the RolePermissions object.void
removeFromUserRoles(UserRole obj)
Remove the UserRoles object.void
setActiveFlag(boolean activeFlag)
Set the activeFlag value.void
setClientAssignableFlag(boolean clientAssignableFlag)
Set the clientAssignableFlag value.void
setRoleDescription(String roleDescription)
Set the roleDescription value.void
setRoleName(String roleName)
Set the roleName value.-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
Field Detail
-
ACTIVE_FLAG_PROPERTY
public static final String ACTIVE_FLAG_PROPERTY
Provides the 'activeFlag' property name.- See Also:
- Constant Field Values
-
CLIENT_ASSIGNABLE_FLAG_PROPERTY
public static final String CLIENT_ASSIGNABLE_FLAG_PROPERTY
Provides the 'clientAssignableFlag' property name.- See Also:
- Constant Field Values
-
ROLE_DESCRIPTION_PROPERTY
public static final String ROLE_DESCRIPTION_PROPERTY
Provides the 'roleDescription' property name.- See Also:
- Constant Field Values
-
ROLE_NAME_PROPERTY
public static final String ROLE_NAME_PROPERTY
Provides the 'roleName' property name.- See Also:
- Constant Field Values
-
ROLE_PERMISSIONS_PROPERTY
public static final String ROLE_PERMISSIONS_PROPERTY
Provides the 'rolePermissions' relationship name.- See Also:
- Constant Field Values
-
USER_ROLES_PROPERTY
public static final String USER_ROLES_PROPERTY
Provides the 'userRoles' relationship name.- See Also:
- Constant Field Values
-
ROLE_OID_PK_COLUMN
public static final String ROLE_OID_PK_COLUMN
Provides the 'role_oid' primary key database column name.- See Also:
- Constant Field Values
-
ACTIVE_FLAG
public static final org.apache.cayenne.exp.Property<Boolean> ACTIVE_FLAG
Provides the 'ACTIVE_FLAG' property.
-
CLIENT_ASSIGNABLE_FLAG
public static final org.apache.cayenne.exp.Property<Boolean> CLIENT_ASSIGNABLE_FLAG
Provides the 'CLIENT_ASSIGNABLE_FLAG' property.
-
ROLE_DESCRIPTION
public static final org.apache.cayenne.exp.Property<String> ROLE_DESCRIPTION
Provides the 'ROLE_DESCRIPTION' property.
-
ROLE_NAME
public static final org.apache.cayenne.exp.Property<String> ROLE_NAME
Provides the 'ROLE_NAME' property.
-
ROLE_PERMISSIONS
public static final org.apache.cayenne.exp.Property<List<RolePermission>> ROLE_PERMISSIONS
Provides the 'ROLE_PERMISSIONS' property.
-
-
Method Detail
-
setActiveFlag
public void setActiveFlag(boolean activeFlag)
Set the activeFlag value.- Parameters:
activeFlag
- the activeFlag value to set
-
isActiveFlag
public boolean isActiveFlag()
Return the activeFlag value.- Returns:
- activeFlag the activeFlag value
-
setClientAssignableFlag
public void setClientAssignableFlag(boolean clientAssignableFlag)
Set the clientAssignableFlag value.- Parameters:
clientAssignableFlag
- the clientAssignableFlag value to set
-
isClientAssignableFlag
public boolean isClientAssignableFlag()
Return the clientAssignableFlag value.- Returns:
- clientAssignableFlag the clientAssignableFlag value
-
setRoleDescription
public void setRoleDescription(String roleDescription)
Set the roleDescription value.- Parameters:
roleDescription
- the roleDescription value to set
-
getRoleDescription
public String getRoleDescription()
Return the roleDescription value.- Returns:
- roleDescription the roleDescription value
-
setRoleName
public void setRoleName(String roleName)
Set the roleName value.- Parameters:
roleName
- the roleName value to set
-
getRoleName
public String getRoleName()
Return the roleName value.- Returns:
- roleName the roleName value
-
addToRolePermissions
public void addToRolePermissions(RolePermission obj)
Add the RolePermissions object.- Parameters:
obj
- the rolePermissions value to add
-
removeFromRolePermissions
public void removeFromRolePermissions(RolePermission obj)
Remove the RolePermissions object.- Parameters:
obj
- the rolePermissions value to remove
-
getRolePermissions
public List<RolePermission> getRolePermissions()
Return the RolePermissions.- Returns:
- rolePermissions value
-
addToUserRoles
public void addToUserRoles(UserRole obj)
Add the UserRoles object.- Parameters:
obj
- the userRoles value to add
-
removeFromUserRoles
public void removeFromUserRoles(UserRole obj)
Remove the UserRoles object.- Parameters:
obj
- the userRoles value to remove
-
-