public class SearchByPackageKindImpl extends SearchCriteriaImpl implements SearchByPackageKind, Serializable, Cloneable
Implementaiton of a earch criteria for matching packages defined by a kind of package.
| Constructor and Description |
|---|
SearchByPackageKindImpl(PackageKind packagekind)
Create a search criteria defined by package kind.
|
| Modifier and Type | Method and Description |
|---|---|
SearchByPackageKindImpl |
clone() |
boolean |
equals(Object o) |
PackageKind |
getKind()
Returns the kind of package of the search criteria.
|
int |
hashCode() |
void |
setKind(PackageKind kind)
Sets the kind of package of the search criteria.
|
String |
toString()
Create a pseudo-XML representation of this search by package kind criteria.
|
getSearchTaggetSearchTagpublic SearchByPackageKindImpl(PackageKind packagekind)
Create a search criteria defined by package kind.
packagekind - Kind of package to search for.NullPointerException - The given package kind is null.public PackageKind getKind()
SearchByPackageKindReturns the kind of package of the search criteria.
getKind in interface SearchByPackageKindpublic void setKind(PackageKind kind) throws NullPointerException
SearchByPackageKindSets the kind of package of the search criteria.
setKind in interface SearchByPackageKindkind - Kind of package of the search criteria.NullPointerException - The given package kind is null.public String toString()
Create a pseudo-XML representation of this search by package kind criteria. No XML schema or DTD defines this element. For example:
<SearchByPackageKind kind="TapePackage"/>
public SearchByPackageKindImpl 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.