public class SearchByPackageIDImpl extends SearchCriteriaImpl implements SearchByPackageID, Serializable, Cloneable
Implementation of a search criteria for matching packages defined by a package id.
| Constructor and Description |
|---|
SearchByPackageIDImpl(PackageID packageID)
Create a search criteria defined by a package id.
|
| Modifier and Type | Method and Description |
|---|---|
SearchByPackageIDImpl |
clone() |
boolean |
equals(Object o) |
PackageID |
getPackageID()
Returns the package id of the search criteria.
|
int |
hashCode() |
void |
setPackageID(PackageID packageID)
Sets the package id of the search criteria.
|
String |
toString()
Create a pseudo-XML representation of this search by package id criteria.
|
getSearchTaggetSearchTagpublic SearchByPackageIDImpl(PackageID packageID) throws NullPointerException
Create a search criteria defined by a package id.
packageID - Package id to search for.NullPointerException - The given package id is null.public PackageID getPackageID()
SearchByPackageIDReturns the package id of the search criteria.
getPackageID in interface SearchByPackageIDpublic void setPackageID(PackageID packageID) throws NullPointerException
SearchByPackageIDSets the package id of the search criteria.
setPackageID in interface SearchByPackageIDpackageID - Package id of the search criteria.NullPointerException - The given package id is null.public String toString()
Create a pseudo-XML representation of this search by package id criteria. No XML schema or DTD defines this element. For example:
<SearchByPackageID packageID="urn:x-umid:0102030405060708090a0b0c-0d-0e0f10-1112131415161718191a1b1c1d1e1f20"/>
public SearchByPackageIDImpl 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.