Package com.logicaldoc.core.metadata
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description AttributeOption()AttributeOption(long setId, String attribute, String value)AttributeOption(long setId, String attribute, String value, String category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AttributeOption other)StringgetAttribute()StringgetCategory()StringgetLabel()intgetPosition()longgetSetId()StringgetValue()voidsetAttribute(String attribute)voidsetCategory(String category)voidsetLabel(String label)voidsetPosition(int position)voidsetSetId(long setId)voidsetValue(String value)-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
-
-
-
Method Detail
-
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:
compareToin interfaceComparable<AttributeOption>
-
-