    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 com.infodesire.infobit.data.Capability;
    9
    10  /***
    11   * implementation class for capability
    12   *
    13   * @author            konstantin
    14   * @created           August 12, 2003
    15   * @version           $Revision: 1.2 $
    16   * @hibernate.class   table="capability"
    17   * @hibernate.query   name="capabilityByName" query="from capability in class
    18   *      com.infodesire.infobit.dao.CapabilityImpl where capability.name = :name"
    19   * @hibernate.query   name="listCapabilitiesByName" query="from capability in
    20   *      class com.infodesire.infobit.dao.CapabilityImpl order by
    21   *      capability.name"
    22   */
    23  class CapabilityImpl extends BaseEntityImpl implements Capability {
    24
    25      /***
    26       */
    27      private String  _name;
    28
    29      /***
    30       */
    31      private String  _description;
    32
    33
    34
    35      /***
    36       * Gets the Name attribute of the Capability object
    37       *
    38       * @return               The Name value
    39       * @hibernate.property   not-null="true" unique="true" update="false"
    40       *      insert="true"
    41       */
    42      public String getName() {
    43          return _name;
    44      }
    45
    46
    47      /***
    48       * @return               The Description value
    49       * @hibernate.property
    50       */
    51      public String getDescription() {
    52          return _description;
    53      }
    54
    55
    56
    57      /***
    58       * Sets the Name attribute of the Capability object
    59       *
    60       * @param name  The new Name value
    61       */
    62      public void setName(String name) {
    63          _name = name;
    64      }
    65
    66
    67      /***
    68       * @param description  The new Description value
    69       */
    70      public void setDescription(String description) {
    71          _description = description;
    72      }
    73
    74  }

This page was automatically generated by Maven