View Javadoc

    1   /*
    2    * joey-gen and its relative products are published under the terms
    3    * of the Apache Software License.
    4    *
    5    * Created on 2004/11/08 16:36:41
    6    */
    7   package org.asyrinx.joey.gen.model.java;
    8
    9   import org.asyrinx.joey.gen.model.Element;
    10
    11  /***
    12   * @author takeshi
    13   */
    14  public class ReferenceEntry extends Element {
    15
    16      /***
    17       *
    18       */
    19      public ReferenceEntry() {
    20          super();
    21      }
    22
    23      /***
    24       * @param parent
    25       */
    26      public ReferenceEntry(Reference parent) {
    27          super(parent);
    28      }
    29
    30      /***
    31       * @param parent
    32       */
    33      public ReferenceEntry(Reference parent, Property local, Property foreign) {
    34          super(parent);
    35          this.local = local;
    36          this.foreign = foreign;
    37      }
    38
    39      private Property local = null;
    40
    41      private Property foreign = null;
    42
    43      /***
    44       * @return Returns the foreign.
    45       */
    46      public Property getForeign() {
    47          return foreign;
    48      }
    49
    50      /***
    51       * @param foreign
    52       *               The foreign to set.
    53       */
    54      public void setForeign(Property foreign) {
    55          this.foreign = foreign;
    56      }
    57
    58      /***
    59       * @return Returns the local.
    60       */
    61      public Property getLocal() {
    62          return local;
    63      }
    64
    65      /***
    66       * @param local
    67       *               The local to set.
    68       */
    69      public void setLocal(Property local) {
    70          this.local = local;
    71      }
    72  }