public class DefinitionCriteriaByKindImpl extends DefinitionCriteriaImpl implements DefinitionCriteriaByKind, Serializable, Cloneable
Implementation of a criteria for matching a definition determined by its kind, such as data definition, property definition etc..
DefinitionObject,
Serialized Form| Constructor and Description |
|---|
DefinitionCriteriaByKindImpl(DefinitionKind definitionKind)
Create a definition criteria with the given kind of definition to match.
|
| Modifier and Type | Method and Description |
|---|---|
DefinitionCriteriaByKindImpl |
clone() |
boolean |
equals(Object o) |
DefinitionKind |
getKind()
Returns the definition kind for this definition criteria.
|
int |
hashCode() |
void |
setKind(DefinitionKind kind)
Sets the definition kind for this definition criteria.
|
String |
toString()
Creates a pseudo-XML representation of this definition criteria.
|
getDefinitionTypegetDefinitionTypepublic DefinitionCriteriaByKindImpl(DefinitionKind definitionKind) throws NullPointerException
Create a definition criteria with the given kind of definition to match.
definitionKind - Kind of definition criteria.NullPointerExceptionpublic DefinitionKind getKind()
DefinitionCriteriaByKindReturns the definition kind for this definition criteria.
getKind in interface DefinitionCriteriaByKindpublic void setKind(DefinitionKind kind) throws NullPointerException
DefinitionCriteriaByKindSets the definition kind for this definition criteria.
setKind in interface DefinitionCriteriaByKindkind - Definition kind for this definition criteria.NullPointerException - The definition kind is null.public String toString()
Creates a pseudo-XML representation of this definition criteria. No XML schema or DTD is defined. For example:
<DefinitionCriteria kind="PropertyDefinition"/>
public DefinitionCriteriaByKindImpl 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.