Class Parameter


public class Parameter extends Valuable
Data representation for a parameter.
  • Constructor Details

    • Parameter

      public Parameter()
  • Method Details

    • getName

      public String getName()
      Gets the name of the parameter.
      Returns:
      name of the parameter
    • setName

      public void setName(String name)
      Sets the name of the parameter.
      Parameters:
      name - of the parameter
    • isEntity

      public boolean isEntity()
      Checks whether this parameter value is of the value type ENTITY or COLLECTION_ENTITY.
      Returns:
      true if the value type is ENTITY or COLLECTION_ENTITY, otherwise false
    • asEntity

      public Entity asEntity()
      Gets the value in its entity representation or null if it is not based on an entity value type.
      Returns:
      entity representation or null if it is not based on an entity value type
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Valuable
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Valuable
    • toString

      public String toString()
      Overrides:
      toString in class Valuable