|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.api.search.Pattern
com.cisco.provisioning.cpe.api.search.DeviceIDPattern
com.cisco.provisioning.cpe.api.search.DUIDPattern
public final class DUIDPattern
Pattern for matching DUIDs
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
DUIDPattern(String pattern)
Use this constructor to create a new DUIDPattern. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines if this object is equal to the specified object. |
int |
hashCode()
The hash code of this object. |
| Methods inherited from class com.cisco.provisioning.cpe.api.search.DeviceIDPattern |
|---|
toString |
| Methods inherited from class com.cisco.provisioning.cpe.api.search.Pattern |
|---|
getPattern |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public DUIDPattern(String pattern)
This method will throw an
APIArgumentException if the specified
pattern is invalid or is specified as null. A valid pattern
is a non-null hex string that begins with number prefix, include 0 or
more bytes to match against. If using a wildcard, a single asterisk (*)
must be at the end of the string.
Minimum number of octets specify in a pattern must be two octets
and maximum number of octets specify in a pattern is 130 octets.
Partial octet end of the string is not allowed.
The following are VALID DUID patterns:
The following are INVALID DUID address patterns:
pattern - a String to which DUIDs are matched.
This value cannot be specified as null. If
specified as null or an invalid DUID pattern, the
runtime exception
APIArgumentException
will be thrown.
APIArgumentException - if pattern is null or invalid.| Method Detail |
|---|
public int hashCode()
Object.hashCode for more information
hashCode in class DeviceIDPatternpublic boolean equals(Object obj)
equals in class DeviceIDPattern
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||