Class GlobalParameterSpecification


  • public final class GlobalParameterSpecification
    extends Object
    Definition of a single parameter for an entity.
    • Constructor Detail

      • GlobalParameterSpecification

        public GlobalParameterSpecification()
    • Method Detail

      • type

        public GlobalParameterType type()
        Get the type property: Global Parameter type.
        Returns:
        the type value.
      • value

        public Object value()
        Get the value property: Value of parameter.
        Returns:
        the value value.
      • withValue

        public GlobalParameterSpecification withValue​(Object value)
        Set the value property: Value of parameter.
        Parameters:
        value - the value value to set.
        Returns:
        the GlobalParameterSpecification object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.