Class _RolePermission

  • All Implemented Interfaces:
    IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating
    Direct Known Subclasses:
    RolePermission

    public abstract class _RolePermission
    extends BaseEntity

    Provides the _RolePermission 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<Permission> PERMISSION
      Provides the 'PERMISSION' property.
      static String PERMISSION_PROPERTY
      Provides the 'permission' relationship name.
      static org.apache.cayenne.exp.Property<Role> ROLE
      Provides the 'ROLE' property.
      static String ROLE_PERMISSION_OID_PK_COLUMN
      Provides the 'role_permission_oid' primary key database column name.
      static String ROLE_PROPERTY
      Provides the 'role' relationship name.
      • Fields inherited from class org.apache.cayenne.CayenneDataObject

        values
      • Fields inherited from class org.apache.cayenne.BaseDataObject

        snapshotVersion
      • Fields inherited from class org.apache.cayenne.PersistentObject

        objectContext, objectId, persistenceState
      • Fields inherited from interface org.apache.cayenne.DataObject

        DEFAULT_VERSION
    • Constructor Summary

      Constructors 
      Constructor Description
      _RolePermission()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Permission getPermission()
      Return the Permission.
      Role getRole()
      Return the Role.
      void setPermission​(Permission permission)
      Set the Permission.
      void setRole​(Role role)
      Set the Role.
      • 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
      • Methods inherited from interface org.apache.cayenne.Persistent

        getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
    • Field Detail

      • PERMISSION_PROPERTY

        public static final String PERMISSION_PROPERTY
        Provides the 'permission' relationship name.
        See Also:
        Constant Field Values
      • ROLE_PERMISSION_OID_PK_COLUMN

        public static final String ROLE_PERMISSION_OID_PK_COLUMN
        Provides the 'role_permission_oid' primary key database column name.
        See Also:
        Constant Field Values
      • PERMISSION

        public static final org.apache.cayenne.exp.Property<Permission> PERMISSION
        Provides the 'PERMISSION' property.
      • ROLE

        public static final org.apache.cayenne.exp.Property<Role> ROLE
        Provides the 'ROLE' property.
    • Constructor Detail

      • _RolePermission

        public _RolePermission()
    • Method Detail

      • setPermission

        public void setPermission​(Permission permission)
        Set the Permission.
        Parameters:
        permission - the permission value to set
      • getPermission

        public Permission getPermission()
        Return the Permission.
        Returns:
        the permission value
      • setRole

        public void setRole​(Role role)
        Set the Role.
        Parameters:
        role - the role value to set
      • getRole

        public Role getRole()
        Return the Role.
        Returns:
        the role value