Class ElementDefinition

    • Constructor Detail

      • ElementDefinition

        public ElementDefinition​(Dictionary sourceDictionary,
                                 int lineNumber,
                                 DictIdentifier identifier)
    • Method Detail

      • setDataType

        public void setDataType​(Constants.DictionaryType dataType)
        Parameters:
        dataType - The dataType to set.
      • getMaximum

        public Number getMaximum()
        Returns:
        Returns the maximum.
      • setMaximum

        public void setMaximum​(Number maximum)
        Parameters:
        maximum - The maximum to set.
      • getMaxLength

        public Integer getMaxLength()
        Returns:
        Returns the maxLength.
      • setMaxLength

        public void setMaxLength​(int maxLength)
        Parameters:
        maxLength - The maxLength to set.
      • getMinimum

        public Number getMinimum()
        Returns:
        Returns the minimum.
      • setMinimum

        public void setMinimum​(Number minimum)
        Parameters:
        minimum - The minimum to set.
      • getMinLength

        public Integer getMinLength()
        Returns:
        Returns the minLength.
      • setMinLength

        public void setMinLength​(int minLength)
        Parameters:
        minLength - The minLength to set.
      • getUnits

        public String getUnits()
        Returns:
        Returns the unit id that can be looked up in a dictionary.
      • setUnits

        public void setUnits​(String units)
        Parameters:
        units -
      • getValues

        public Collection<String> getValues()
        Returns:
        Returns the values.
      • setValues

        public void setValues​(Collection<String> values)
        Parameters:
        values - The values to set.
      • addValue

        public void addValue​(String value)
      • getValueType

        public String getValueType()
        Returns:
        Returns the valueType.
      • setValueType

        public void setValueType​(String valueType)
        Parameters:
        valueType - The valueType to set.
      • hasValidValues

        public boolean hasValidValues()
      • hasMaximum

        public boolean hasMaximum()
      • hasMinimum

        public boolean hasMinimum()
      • hasMinLength

        public boolean hasMinLength()
      • hasMaxLength

        public boolean hasMaxLength()