Class CustomProperty

  • All Implemented Interfaces:
    Cloneable

    public final class CustomProperty
    extends Object
    implements Cloneable
    Stores a custom property.
    • Constructor Detail

      • CustomProperty

        public CustomProperty​(String name,
                              String value)
        Initializes a new instance of the CustomProperty class.
        Parameters:
        name - The name of the custom property, which must be unique per CustomPropertyCollection.
        value - The custom value.
    • Method Detail

      • copy

        public CustomProperty copy()
        Makes a copy of this instance.
        Returns:
        The copy.
      • getValue

        public String getValue()
        The custom property value. E.g. an XML string.
      • setValue

        public void setValue​(String value)
        The custom property value. E.g. an XML string.
      • getDescription

        public String getDescription()
        An optional description for the custom property.
      • setDescription

        public void setDescription​(String value)
        An optional description for the custom property.