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 String
ARCHIVED
Attribute name for archivingstatic String
CDM_VALUE
Attribute name for CDM valuestatic String
CODE
Attribute name for codestatic String
CODE_APOGEE
Attribute name for code Apogeestatic String
ORDER
Attribute 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 boolean
equals(Object obj)
String
getCdmValue()
Get the CDM valueString
getCode()
Get the codeContent
getContent()
Get the contentString
getId()
Get the identifierString
getLabel(String lang)
Get the labelLong
getOrder()
Get the orderint
hashCode()
Boolean
isArchived()
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:
true
if the entry is archived,false
otherwise
-
getContent
public Content getContent()
Get the content- Returns:
- the content
-
-