    View Javadoc
    1   /*
    2    * Copyright (c) 2003
    3    * Information Desire GmbH
    4    * All rights reserved.
    5    */
    6   package com.infodesire.infobit.dao;
    7
    8   import java.util.Set;
    9   import java.util.Collections;
    10
    11  /***
    12   * avoid ternary assotiation with this class
    13   *
    14   * @author            konstantin
    15   * @created           August 14, 2003
    16   * @version           $Revision: 1.2 $
    17   * @hibernate.class   table="securitylink"
    18   */
    19  final class SecurityLink extends BaseEntityImpl {
    20
    21      /***
    22       */
    23      private AclImpl _acl;
    24
    25      /***
    26       */
    27      private CapabilityImpl _capability;
    28
    29      /***
    30       */
    31      private Set     _roles;
    32
    33
    34      /***
    35       * Gets the Acl attribute of the SecurityLink object
    36       *
    37       * @return                  The Acl value
    38       * @hibernate.many-to-one   cascade="none" column="aclid" update="false"
    39       *      not-null="true" outer-join="true"
    40       */
    41      public AclImpl getAcl() {
    42          return _acl;
    43      }
    44
    45
    46      /***
    47       * Gets the Capability attribute of the SecurityLink object
    48       *
    49       * @return                  The Capability value
    50       * @hibernate.many-to-one   cascade="none" column="capabilityid"
    51       *      update="false" not-null="true" outer-join="true"
    52       */
    53      public CapabilityImpl getCapability() {
    54          return _capability;
    55      }
    56
    57
    58      /***
    59       * Gets the Roles attribute of the SecurityLink object
    60       *
    61       * @return                         The Roles value
    62       * @hibernate.set                  table="roleset" cascade="all" lazy="true"
    63       * @hibernate.collection-element   column="role" type="string"
    64       * @hibernate.collection-key       column="linkid"
    65       */
    66      public Set getRoles() {
    67          return _roles;
    68      }
    69
    70
    71      /***
    72       * Sets the Acl attribute of the SecurityLink object
    73       *
    74       * @param acl  The new Acl value
    75       */
    76      public void setAcl(AclImpl acl) {
    77          _acl = acl;
    78      }
    79
    80
    81      /***
    82       * Sets the Capability attribute of the SecurityLink object
    83       *
    84       * @param capability  The new Capability value
    85       */
    86      public void setCapability(CapabilityImpl capability) {
    87          _capability = capability;
    88      }
    89
    90
    91      /***
    92       * Sets the Roles attribute of the SecurityLink object
    93       *
    94       * @param roles  The new Roles value
    95       */
    96      public void setRoles(Set roles) {
    97          _roles = roles;
    98      }
    99
    100 }

This page was automatically generated by Maven