public class IdentificationCriteriaByIdProductIDImpl extends IdentificationCriteriaImpl implements IdentificationCriteriaByIdProductID, Serializable, Cloneable
Implementation of a criteria for matching an identification by its product id.
| Constructor and Description |
|---|
IdentificationCriteriaByIdProductIDImpl(AUID productId)
Create a criteria for matching an identification defined by the given
product id.
|
| Modifier and Type | Method and Description |
|---|---|
IdentificationCriteriaByIdProductIDImpl |
clone() |
boolean |
equals(Object o) |
AUID |
getProductID()
Returns the product id that defines this
identification criteria as an
AUID. |
int |
hashCode() |
void |
setProductID(AUID productId)
Sets the product id that defines this identification criteria.
|
String |
toString()
Pseudo-XML representation of this identification criteria.
|
getIdentificationCriteriaTypegetIdentificationCriteriaTypepublic IdentificationCriteriaByIdProductIDImpl(AUID productId) throws NullPointerException
Create a criteria for matching an identification defined by the given product id.
productId - Product identifier defining the new identification criteria.NullPointerException - The given product id is null.Identification.getApplicationProductID()public AUID getProductID()
IdentificationCriteriaByIdProductIDReturns the product id that defines this
identification criteria as an AUID.
getProductID in interface IdentificationCriteriaByIdProductIDpublic void setProductID(AUID productId) throws NullPointerException
IdentificationCriteriaByIdProductIDSets the product id that defines this identification criteria.
setProductID in interface IdentificationCriteriaByIdProductIDproductId - Product id of this identification criteria.NullPointerException - The given product id is null.public String toString()
Pseudo-XML representation of this identification criteria. No corresponding XML schema or DTD is defined. For example:
<IdentificationCriteria productId="urn:uuid:7ab65789-dfed-7891-f6b7-a8d67892"/>
public IdentificationCriteriaByIdProductIDImpl 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.