|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.api.Key
com.cisco.provisioning.cpe.api.DeviceID
public abstract class DeviceID
Base abstract class for all the device identifier subclasses
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serialization version UID constant for this class |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Determines if this IPDeviceID object is equal to the specified object. |
String |
getDeviceId()
Returns the device identifier as String. |
static DeviceID |
getInstance(String deviceID,
KeyType keyType)
Create an instance of the device ID based on the KeyType value |
int |
hashCode()
The hash code of this object. |
String |
toString()
Returns a string representation of this device identifier. |
abstract boolean |
validate()
Validate the id string for correct format. |
| Methods inherited from class com.cisco.provisioning.cpe.api.Key |
|---|
getKeyType |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Method Detail |
|---|
public static DeviceID getInstance(String deviceID,
KeyType keyType)
deviceID - The string containing the device identifier. If this
value is null, the runtime exception
APIArgumentException will be
thrown.keyType - The enumaration of the device identifier type. If this
value is null, the runtime exception
APIArgumentException will be
thrown.
public boolean equals(Object obj)
equals in class Objectpublic String getDeviceId()
public int hashCode()
Object.hashCode
for more information
hashCode in class Objectpublic String toString()
toString in class Objectpublic abstract boolean validate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||