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
-
-
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()
-
-
-
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
-
ORDER
public static final String ORDER
Attribute name for ordering- 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
-
getContent
public Content getContent()
Get the content- Returns:
- the content
-
-