Package org.ametys.odf.enumeration
Class OdfReferenceTableEntry
- java.lang.Object
-
- org.ametys.odf.enumeration.OdfReferenceTableEntry
-
public class OdfReferenceTableEntry extends Object
This class represents a entry of ODF reference table
-
-
Field Summary
Fields Modifier and Type Field Description static StringARCHIVEDAttribute name for archivingstatic StringCDM_VALUEAttribute name for CDM valuestatic StringCODEAttribute name for codestatic StringCODE_APOGEEAttribute name for code Apogeestatic StringORDERAttribute name for ordering
-
Constructor Summary
Constructors Constructor Description OdfReferenceTableEntry(Content content)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCdmValue()Get the CDM valueStringgetCode()Get the codeContentgetContent()Get the contentStringgetId()Get the identifierStringgetLabel(String lang)Get the labelLonggetOrder()Get the orderinthashCode()BooleanisArchived()Get the archiving state
-
-
-
Field Detail
-
CODE
public static final String CODE
Attribute name for code- See Also:
- Constant Field Values
-
CDM_VALUE
public static final String CDM_VALUE
Attribute name for CDM value- See Also:
- Constant Field Values
-
CODE_APOGEE
public static final String CODE_APOGEE
Attribute name for code Apogee- See Also:
- Constant Field Values
-
ORDER
public static final String ORDER
Attribute name for ordering- See Also:
- Constant Field Values
-
ARCHIVED
public static final String ARCHIVED
Attribute name for archiving- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OdfReferenceTableEntry
public OdfReferenceTableEntry(Content content)
Constructor- Parameters:
content- The content representing the entry
-
-
Method Detail
-
getLabel
public String getLabel(String lang)
Get the label- Parameters:
lang- The language- Returns:
- The label
-
getCdmValue
public String getCdmValue()
Get the CDM value- Returns:
- the CDM value
-
isArchived
public Boolean isArchived()
Get the archiving state- Returns:
trueif the entry is archived,falseotherwise
-
getContent
public Content getContent()
Get the content- Returns:
- the content
-
-