eu.etaxonomy.cdm.model.common
Class CdmMetaData
java.lang.Object
eu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.CdmMetaData
- All Implemented Interfaces:
- ICdmBase, Serializable, Cloneable
@Entity
public class CdmMetaData
- extends CdmBase
- Version:
- 1.0
- Author:
- a.mueller
- See Also:
- Serialized Form
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
addPropertyChangeListener, addPropertyChangeListener, clone, clone, deproxy, equals, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hashCode, hasListeners, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid, toString |
CdmMetaData
protected CdmMetaData()
- Simple constructor to be used by Spring
CdmMetaData
public CdmMetaData(CdmMetaData.MetaDataPropertyName propertyName,
String value)
defaultMetaData
public static final List<CdmMetaData> defaultMetaData()
- Returns:
- a list of default metadata objects
propertyList
public static final List<CdmMetaData> propertyList()
- Method to retrieve a CDM Libraries meta data
- Returns:
getPropertyName
public CdmMetaData.MetaDataPropertyName getPropertyName()
- Returns:
- the propertyName
setPropertyName
public void setPropertyName(CdmMetaData.MetaDataPropertyName propertyName)
- Parameters:
propertyName
- the propertyName to set
getValue
public String getValue()
- Returns:
- the value
setValue
public void setValue(String value)
- Parameters:
value
- the value to set
compareVersion
public static int compareVersion(String version1,
String version2,
Integer depth,
IProgressMonitor monitor)
- Compares two version string. If version1 is higher than version2 a positive result is returned.
If both are equal 0 is returned, otherwise -1 is returned.
- Parameters:
version1
- version2
- depth
- monitor
-
- Returns:
- See Also:
Comparator.compare(Object, Object)
isDbSchemaVersionCompatible
public static boolean isDbSchemaVersionCompatible(String version)
getDbSchemaVersion
public static String getDbSchemaVersion()
getTermsVersion
public static String getTermsVersion()
isTermsVersionCompatible
public static boolean isTermsVersionCompatible(String version)
Copyright © 2007-2013 EDIT. All Rights Reserved.