Package org.alfresco.repo.descriptor
Class DescriptorServiceImpl.BaseDescriptor
java.lang.Object
org.alfresco.repo.descriptor.DescriptorServiceImpl.BaseDescriptor
- All Implemented Interfaces:
Descriptor
- Enclosing class:
- DescriptorServiceImpl
public abstract static class DescriptorServiceImpl.BaseDescriptor
extends Object
implements Descriptor
Base class for Descriptor implementations, provides a default getVersion() implementation.
- Author:
- gavinc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intReturns the int representation of the given schema string.Gets the full version numberMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.descriptor.Descriptor
getDescriptor, getDescriptorKeys, getEdition, getId, getLicenseMode, getName, getSchema, getVersionBuild, getVersionLabel, getVersionMajor, getVersionMinor, getVersionRevision
-
Constructor Details
-
BaseDescriptor
public BaseDescriptor()
-
-
Method Details
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceDescriptor- Returns:
- Returns the object representing the major-minor-revision numbers
-
getVersion
Description copied from interface:DescriptorGets the full version number- Specified by:
getVersionin interfaceDescriptor- Returns:
- full version number as major.minor.revision (label)
-
getSchema
Returns the int representation of the given schema string.- Parameters:
schemaStr- The schema number as a string- Returns:
- The schema number as an int
-