br.com.objectos.git
| Modifier and Type | Method and Description |
|---|---|
static MaybeObjectId |
empty()
Returns the instance representing the absence of a hash value.
|
abstract ObjectId |
getObjectId()
Returns this reference if it is an instance of
ObjectId or throws
an exception otherwise. |
abstract boolean |
isObjectId()
Returns
true if this object is an instance of ObjectId. |
String |
toString()
Returns the string representation of this id as defined by the
ToStringObject.formatToString(StringBuilder, int) method. |
public static MaybeObjectId empty()
public abstract ObjectId getObjectId()
ObjectId or throws
an exception otherwise.ObjectIdNoSuchElementException - if this object is not an ObjectIdpublic abstract boolean isObjectId()
true if this object is an instance of ObjectId.true if this object is an instance of ObjectIdCopyright © 2020–2022 Objectos Software LTDA. All rights reserved.