Class BasisDatatypeValue

java.lang.Object
net.ssehub.easy.varModel.model.values.Value
net.ssehub.easy.varModel.model.values.BasisDatatypeValue
Direct Known Subclasses:
BooleanValue, ConstraintValue, IntValue, RealValue, StringValue, VersionValue

public abstract class BasisDatatypeValue extends Value
Holding basis data types.
Author:
Marcel Lueder, El-Sharkawy
  • Constructor Details

    • BasisDatatypeValue

      protected BasisDatatypeValue(IDatatype type)
      Constructor for a new BasisDatatypeValue.
      Parameters:
      type - type of the Value
  • Method Details

    • getValue

      public Object getValue()
      Getter for the value. Not implemented yet.
      Specified by:
      getValue in class Value
      Returns:
      null
    • equalsPartially

      public boolean equalsPartially(Value value)
      Description copied from class: Value
      Returns whether the provided value is partially equal to this value, i.e., whether the nested elements of value (if they exist) have the same contents as in this value. Other values of this value are not considered. The check is transitive on nested elements. Please consider that this method is not symmetric as opposed to equals. This method is important to cope with default values.
      Specified by:
      equalsPartially in class Value
      Parameters:
      value - the value to be checked for partial equality.
      Returns:
      true if value is partially equal to this, false else