Package io.goobi.viewer.model.metadata
Class MetadataElement.MetadataType
java.lang.Object
io.goobi.viewer.model.metadata.MetadataElement.MetadataType
- All Implemented Interfaces:
Serializable
,Comparable<MetadataElement.MetadataType>
- Enclosing class:
- MetadataElement
public class MetadataElement.MetadataType
extends Object
implements Comparable<MetadataElement.MetadataType>, Serializable
Wrapper class for the metadata type numerical value. Needed only for retrieving the proper message key for each type...
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getTabName
(int viewIndex) int
getType()
int
hashCode()
void
setTabName
(String tabName) void
setType
(int type)
-
Constructor Details
-
MetadataType
public MetadataType() -
MetadataType
public MetadataType(int type)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MetadataElement.MetadataType>
-
getTabName
- Parameters:
viewIndex
- Metadata view index- Returns:
- Message key for this tab
-
setTabName
-
getType
public int getType()- Returns:
- the type
-
setType
public void setType(int type) - Parameters:
type
- the type to set
-