Class AttributeOption

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.metadata.AttributeOption
All Implemented Interfaces:
Serializable, Comparable<AttributeOption>

public class AttributeOption extends PersistentObject implements Comparable<AttributeOption>
Represents an option for a multi-choice attribute
Since:
7.1
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Details

    • AttributeOption

      public AttributeOption()
    • AttributeOption

      public AttributeOption(long setId, String attribute, String value, String category)
    • AttributeOption

      public AttributeOption(long setId, String attribute, String value)
  • Method Details

    • getSetId

      public long getSetId()
    • setSetId

      public void setSetId(long setId)
    • getAttribute

      public String getAttribute()
    • setAttribute

      public void setAttribute(String attribute)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int position)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • compareTo

      public int compareTo(AttributeOption other)
      Specified by:
      compareTo in interface Comparable<AttributeOption>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PersistentObject