Class GroovySystemDataGroup

  • All Implemented Interfaces:
    groovy.lang.GroovyObject

    @Scriptable
    public final class GroovySystemDataGroup
    extends groovy.lang.GroovyObjectSupport
    • Constructor Detail

      • GroovySystemDataGroup

        public GroovySystemDataGroup()
    • Method Detail

      • hasValue

        public boolean hasValue​(String p_strFieldGuid)
        Check if a system data group value for the given field exists.
        Parameters:
        p_strFieldGuid - The field GUID.
        Returns:
        true if the system datagroup has a value, or false otherwise.
        Throws:
        IllegalArgumentException - If the given GUID is invalid or does not identify an existing data field.
      • getValueByFieldGuid

        public Object getValueByFieldGuid​(String p_strFieldGuid)
        Get the value of the given system data group field.
        Parameters:
        p_strFieldGuid - The field GUID.
        Returns:
        The field value.
        Throws:
        IllegalArgumentException - If the given GUID is invalid or does not identify an existing data field.
        RuntimeException - If there is no value for the given field, in which case hasValue(String) is false.
      • getValueHolderByFieldGuid

        public IValueHolder<?> getValueHolderByFieldGuid​(String p_strFieldGuid)
        Get the value of the given system data group field.
        Parameters:
        p_strFieldGuid - The field GUID.
        Returns:
        The field value as a value holder.
        Throws:
        IllegalArgumentException - If the given GUID is invalid or does not identify an existing data field.
        RuntimeException - If there is no value for the given field, in which case hasValue(String) is false.