Class Alias

All Implemented Interfaces:
Serializable, Cloneable

public class Alias extends DataBaseObject
The Class Alias.
See Also:
  • Field Details

    • ALI_DES_NAME

      protected String ALI_DES_NAME
      The ali des name.
    • DES_NAME

      protected String DES_NAME
      The des name.
    • destination

      protected Destination destination
      The destination.
  • Constructor Details

    • Alias

      public Alias()
      Instantiates a new alias.
    • Alias

      public Alias(String desName, String destinationName)
      Instantiates a new alias.
      Parameters:
      desName - the des name
      destinationName - the destination name
  • Method Details

    • getDesName

      public String getDesName()
      Gets the des name.
      Returns:
      the des name
    • setDesName

      public void setDesName(String param)
      Sets the des name.
      Parameters:
      param - the new des name
    • getDestinationName

      public String getDestinationName()
      Gets the destination name.
      Returns:
      the destination name
    • setDestinationName

      public void setDestinationName(String param)
      Sets the destination name.
      Parameters:
      param - the new destination name
    • getDestination

      public Destination getDestination()
      Gets the destination.
      Returns:
      the destination
    • setDestination

      public void setDestination(Destination param)
      Sets the destination.
      Parameters:
      param - the new destination
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object