public class IdentificationCriteriaByIdRefImplVersionImpl extends IdentificationCriteriaImpl implements IdentificationCriteriaByIdRefImplVersion, Serializable, Cloneable
Implementation of a criteria for matching an identification by its reference implementation version, also known as its toolkit version.
| Constructor and Description |
|---|
IdentificationCriteriaByIdRefImplVersionImpl(ProductVersion referenceImplementationVersion)
Create an identification criteria by reference implementation
version.
|
| Modifier and Type | Method and Description |
|---|---|
IdentificationCriteriaByIdRefImplVersionImpl |
clone() |
boolean |
equals(Object o) |
ProductVersion |
getReferenceImplementationVersion()
Returns the product version of this
identification criteria.
|
int |
hashCode() |
void |
setReferenceImplementationVersion(ProductVersion referenceImplementationVersion)
Sets the product version of this
identification criteria.
|
String |
toString()
Pseudo-XML representation of this identification criteria.
|
getIdentificationCriteriaTypegetIdentificationCriteriaTypepublic IdentificationCriteriaByIdRefImplVersionImpl(ProductVersion referenceImplementationVersion) throws NullPointerException
Create an identification criteria by reference implementation version.
referenceImplementationVersion - Product version of a reference implementation.NullPointerException - The given product version value is null.Identification.getRefImplVersion()public ProductVersion getReferenceImplementationVersion()
IdentificationCriteriaByIdRefImplVersionReturns the product version of this identification criteria.
getReferenceImplementationVersion in interface IdentificationCriteriaByIdRefImplVersionpublic void setReferenceImplementationVersion(ProductVersion referenceImplementationVersion) throws NullPointerException
IdentificationCriteriaByIdRefImplVersionSets the product version of this identification criteria.
setReferenceImplementationVersion in interface IdentificationCriteriaByIdRefImplVersionreferenceImplementationVersion - Product version of this identification criteria.NullPointerException - The given product version is null.public String toString()
Pseudo-XML representation of this identification criteria. No corresponding XML schema or DTD is defined. For example:
<IdentificationCriteria>
<ProductVersion>
<major>1</major>
<minor>2</minor>
<tertiary>3</tertiary>
<patchLevel>4</patchLevel>
<type>Debug</type>
</ProductVersion>
</IdentificationCriteria>
public IdentificationCriteriaByIdRefImplVersionImpl clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.