Class StructuredRepresentation

    • Constructor Detail

      • StructuredRepresentation

        public StructuredRepresentation()
    • Method Detail

      • getProperties

        public java.util.SortedMap<java.lang.String,​java.lang.String> getProperties()
        Yields the set collection of textual properties defined for this representation.
        Returns:
        the properties
      • setProperty

        public void setProperty​(java.lang.String key,
                                java.lang.String value)
        Sets a textual property to enrich the information represented by this instance.
        Parameters:
        key - the key of the property
        value - the value of the property
      • toSerializableValue

        public abstract SerializableValue toSerializableValue()
        Produces a serializable version of this representation.
        Returns:
        an instance of SerializableValue containing representing the same information as this representation
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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