public class Pid extends Object
Constructor and Description |
---|
Pid(Integer localId)
Creates a new PID.
|
Pid(Integer localId,
Integer clientPidMapReference)
Creates a new PID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getClientPidMapReference()
Gets the reference to the property's globally unique ID (stored in a
ClientPidMap property). |
Integer |
getLocalId()
Gets the local ID
|
int |
hashCode() |
String |
toString() |
static Pid |
valueOf(String value)
Parses a string into a
Pid object. |
public Pid(Integer localId, Integer clientPidMapReference)
localId
- the local ID (cannot be null, must be positive)clientPidMapReference
- an integer that references the property's
globally unique ID (optional, must be positive). It must match the first
value in an existing ClientPidMap
propertyNullPointerException
- if local ID is nullpublic Pid(Integer localId)
localId
- the local ID (cannot be null, must be positive)NullPointerException
- if local ID is nullpublic Integer getLocalId()
public Integer getClientPidMapReference()
ClientPidMap
property).public static Pid valueOf(String value)
Pid
object.value
- the string value (e.g. "1.2")Pid
objectNumberFormatException
- if there's a problem parsing the stringCopyright © 2012–2023 Michael Angstadt. All rights reserved.