Class _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 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.
      • USER_ROLES

        public static final org.apache.cayenne.exp.Property<List<UserRole>> USER_ROLES
        Provides the 'USER_ROLES' property.
    • Constructor Detail

      • _Role

        public _Role()
    • 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
      • getUserRoles

        public List<UserRole> getUserRoles()
        Return the UserRoles.
        Returns:
        userRoles value