com.cisco.provisioning.cpe.api.search
Class Pattern

java.lang.Object
  extended by com.cisco.provisioning.cpe.api.search.Pattern
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DeviceIDPattern, FileNamePattern, NodeNamePattern

public abstract class Pattern
extends Object
implements Serializable

Abstract base class for all patterns

See Also:
NodeNamePattern, DeviceIDPattern, DUIDPattern, MACAddressPattern, FQDNPattern, Serialized Form

Field Summary
static long serialVersionUID
           
 
Method Summary
 boolean equals(Object obj)
          Determines if this Pattern object is equal to the specified object.
 String getPattern()
          Return the pattern
 int hashCode()
          The hash code of this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

getPattern

public String getPattern()
Return the pattern

Returns:
the String pattern

hashCode

public int hashCode()
The hash code of this object. See Object.hashCode for more information

Overrides:
hashCode in class Object
Returns:
the hashcode of this object

equals

public boolean equals(Object obj)
Determines if this Pattern object is equal to the specified object.

Overrides:
equals in class Object
Returns:
true if the specified object is equal to this object. false if the objects are not equal.