Class ExtendedFieldValue


  • public class ExtendedFieldValue
    extends java.lang.Object
    Class for holding a value of one ExtendedField.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtendedFieldValue()
      Default constructor initializing the contents to the empty string.
      ExtendedFieldValue​(java.lang.Long aExtendedFieldValueID, java.lang.Long aExtendedFieldID, java.lang.Long aInstanceID, java.lang.String aContent)
      Constructor initializing all instance members.
    • Constructor Detail

      • ExtendedFieldValue

        public ExtendedFieldValue()
        Default constructor initializing the contents to the empty string.
      • ExtendedFieldValue

        public ExtendedFieldValue​(java.lang.Long aExtendedFieldValueID,
                                  java.lang.Long aExtendedFieldID,
                                  java.lang.Long aInstanceID,
                                  java.lang.String aContent)
        Constructor initializing all instance members. Used when reading from persistent storage.
        Parameters:
        aExtendedFieldValueID - The ID of the value of the ExtendedField.
        aExtendedFieldID - The ID of the ExtendedField.
        aInstanceID - The instance id of the value
        aContent - The contents of the value (the value itself) TODO argument validation
    • Method Detail

      • getExtendedFieldValueID

        public java.lang.Long getExtendedFieldValueID()
        Returns:
        the ID of the value of the ExtendedField
      • setExtendedFieldValueID

        public void setExtendedFieldValueID​(java.lang.Long extendedFieldValueID)
        Set the ID of value of the ExtendedField.
        Parameters:
        extendedFieldValueID - the ID of the value of the ExtendedField
      • getExtendedFieldID

        public java.lang.Long getExtendedFieldID()
        Returns:
        the ID of the ExtendedField
      • setExtendedFieldID

        public void setExtendedFieldID​(java.lang.Long extendedFieldID)
        Set the ID of the ExtendedField.
        Parameters:
        extendedFieldID - the ID of the ExtendedField
      • getContent

        public java.lang.String getContent()
        Returns:
        the content of the value
      • setContent

        public void setContent​(java.lang.String content)
        Set the content. Null arg is not accepted.
        Parameters:
        content - The content of the value
      • getInstanceID

        public java.lang.Long getInstanceID()
        Returns:
        the instanceid of the value
      • setInstanceID

        public void setInstanceID​(java.lang.Long instanceID)
        Set the instanceId. Null arg is not accepted.
        Parameters:
        instanceID - The instanceid
      • getBooleanValue

        public boolean getBooleanValue()
        Returns:
        the boolean value of the contents
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object