Package | Description |
---|---|
net.sf.mmm.util.version.api |
Provides the API for dealing with versions.
|
net.sf.mmm.util.version.base |
Contains the base-implementations of the
Version API . |
net.sf.mmm.util.version.impl |
Contains the implementation of the
Version API . |
net.sf.mmm.util.version.impl.jpa |
Modifier and Type | Method and Description |
---|---|
VersionIdentifier |
VersionUtil.createVersionIdentifier(String versionString)
This method parses the given
versionString and builds an according VersionIdentifier
instance. |
VersionIdentifier |
VersionUtil.createVersionIdentifier(String versionString,
boolean normalizeFormat)
This method parses the given
versionString and builds an according VersionIdentifier
instance. |
Modifier and Type | Method and Description |
---|---|
int |
VersionIdentifier.compareTo(VersionIdentifier otherVersion)
This method determines a (non-linear) distance from this version to the given
otherVersion . |
String |
VersionIdentifierFormatter.format(VersionIdentifier value) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVersionIdentifier
This is the abstract base implementation of
VersionIdentifier . |
Modifier and Type | Method and Description |
---|---|
int |
AbstractVersionIdentifier.compareTo(VersionIdentifier otherVersion) |
private int |
AbstractVersionIdentifier.compareToLabel(int currentResult,
VersionIdentifier otherVersion)
This method performs the part of
AbstractVersionIdentifier.compareTo(VersionIdentifier) for the label . |
private <T extends Comparable<T>> |
AbstractVersionIdentifier.compareToLinear(int currentResult,
T thisValue,
T otherValue,
VersionIdentifier otherVersion)
This method performs the part of
AbstractVersionIdentifier.compareTo(VersionIdentifier) for linear and optional attributes like
getTimestamp() or getRevision() . |
private int |
AbstractVersionIdentifier.compareToPhase(int currentResult,
VersionIdentifier otherVersion)
This method performs the part of
AbstractVersionIdentifier.compareTo(VersionIdentifier) for the timestamp . |
private int |
AbstractVersionIdentifier.compareToRevision(int currentResult,
VersionIdentifier otherVersion)
This method performs the part of
AbstractVersionIdentifier.compareTo(VersionIdentifier) for the revision . |
private int |
AbstractVersionIdentifier.compareToTimestamp(int currentResult,
VersionIdentifier otherVersion)
This method performs the part of
AbstractVersionIdentifier.compareTo(VersionIdentifier) for the timestamp . |
private int |
AbstractVersionIdentifier.compareToVersionNumber(VersionIdentifier otherVersion)
This method performs the part of
AbstractVersionIdentifier.compareTo(VersionIdentifier) for the version number . |
private static int |
AbstractVersionIdentifier.getPhaseNumberAsInt(VersionIdentifier version)
This method gets
getPhaseNumber() as int . |
Modifier and Type | Class and Description |
---|---|
class |
VersionIdentifierImpl
This is the abstract base implementation of
VersionIdentifier . |
Modifier and Type | Method and Description |
---|---|
VersionIdentifier |
VersionUtilImpl.createVersionIdentifier(String versionString) |
VersionIdentifier |
VersionUtilImpl.createVersionIdentifier(String versionString,
boolean normalizeFormat) |
Modifier and Type | Method and Description |
---|---|
protected Formatter<VersionIdentifier> |
VersionUtilImpl.parseSubFormatter(CharSequenceScanner scanner,
String formatPattern,
StringBuilder infixBuffer,
VersionUtilImpl.FormatPatternStatus status) |
Modifier and Type | Method and Description |
---|---|
protected void |
VersionIdentifierFormatterVersionSegments.doFormat(VersionIdentifier value,
Appendable buffer) |
protected void |
DefaultVersionIdentifierFormatter.doFormat(VersionIdentifier value,
Appendable buffer) |
protected void |
AbstractVersionIdentifierFormatterString.doFormat(VersionIdentifier value,
Appendable buffer) |
protected void |
AbstractVersionIdentifierFormatterNumber.doFormat(VersionIdentifier value,
Appendable buffer) |
protected CharSequence |
VersionIdentifierFormatterVersionSegments.doFormatSegment(VersionIdentifier value,
int index)
This method formats the
segment at the given index . |
protected Number |
VersionIdentifierFormatterRevision.getNumber(VersionIdentifier value) |
protected Number |
VersionIdentifierFormatterPhaseNumber.getNumber(VersionIdentifier value) |
protected abstract Number |
AbstractVersionIdentifierFormatterNumber.getNumber(VersionIdentifier value)
This method gets the
Number to format. |
protected String |
VersionIdentifierFormatterTimestamp.getString(VersionIdentifier value) |
protected String |
VersionIdentifierFormatterSnapshot.getString(VersionIdentifier value) |
protected String |
VersionIdentifierFormatterPhaseValue.getString(VersionIdentifier value) |
protected String |
VersionIdentifierFormatterPhaseAlias.getString(VersionIdentifier value) |
protected String |
VersionIdentifierFormatterPhase.getString(VersionIdentifier value) |
protected String |
VersionIdentifierFormatterLabel.getString(VersionIdentifier value) |
protected abstract String |
AbstractVersionIdentifierFormatterString.getString(VersionIdentifier value)
This method gets the
String to format. |
Modifier and Type | Method and Description |
---|---|
VersionIdentifier |
VersionIdentifierAttributeConverter.convertToEntityAttribute(String value) |
Copyright © 2001–2016 mmm-Team. All rights reserved.