|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.api.search.NodeSearchType
public final class NodeSearchType
Node search criteria for a NodeSearchFilter.
| Field Summary | |
|---|---|
static int |
BY_NODE
Specifies search by node |
static int |
BY_NODE_TYPE
Specifies search by node type |
static int |
BY_RELATED_NODES
Specifies search for related nodes |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines if this object is equal to the specified object. |
static NodeSearchType |
getByNodeType(NodeType nodeType)
Create a NodeSearchType to search for nodes of a specific type. |
static NodeSearchType |
getByRelatedNode(NodeName nodeName)
Create a NodeSearchType to search for nodes of a specific node name. |
NodeName |
getNodeName()
Returns the NodeName defined for this search type. |
static NodeSearchType |
getNodes(NodeNamePattern pattern)
Create a NodeSearchType to search for nodes whose name matches a specific node name pattern. |
NodeType |
getNodeType()
Returns the NodeType defined for this search type. |
NodeNamePattern |
getPattern()
Returns the NodeNamePattern defined for this search type. |
int |
getType()
Returns the constant describing the node search type. |
int |
hashCode()
The hash code of this object. |
String |
toString()
Returns a String description of this search type. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BY_RELATED_NODES
public static final int BY_NODE_TYPE
public static final int BY_NODE
| Method Detail |
|---|
public int getType()
public NodeType getNodeType()
public NodeName getNodeName()
public NodeNamePattern getPattern()
public static NodeSearchType getByNodeType(NodeType nodeType)
nodeType - all nodes of this type will be examined.
This value cannot be set to null. If
it is specified as null the runtime exception
APIArgumentException
will be thrown.public static NodeSearchType getByRelatedNode(NodeName nodeName)
nodeName - all related nodes will be returned.
This value cannot be set to null. If
it is specified as null the runtime exception
APIArgumentException
will be thrown.public static NodeSearchType getNodes(NodeNamePattern pattern)
pattern - node names will be matched against this pattern.
This value cannot be set to null. If
it is specified as null or the pattern is invalid
the runtime exception
APIArgumentException
will be thrown.public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||