public final class DfId extends java.lang.Object implements IDfId, com.documentum.fc.tracing.ITraceString, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static DfId |
DF_NULLID
A null ID.
|
static java.lang.String |
DF_NULLID_STR
The string representation of a null ID.
|
DM_ACL, DM_ACTIVITY, DM_AGGR_DOMAIN, DM_ALIAS_SET, DM_API, DM_ASSEMBLY, DM_AUDIT_TRAIL, DM_BLOB_TICKET, DM_BLOBSTORE, DM_BUILTIN_EXPR, DM_CA_STORE_TAG, DM_CABINET, DM_CHANGE_RECORD, DM_CLIENTRIGHTSDOMAIN_TAG, DM_COLLECTION, DM_COND_EXPR, DM_COND_ID_EXPR, DM_CONTAINMENT, DM_CONTENT, DM_DD_ATTR_INFO, DM_DD_COMMON_INFO, DM_DD_INFO, DM_DD_TYPE_INFO, DM_DISPLAY_CONFIG, DM_DIST_COMP_RECORD, DM_DISTRIBUTEDSTORE, DM_DOCBASE_CONFIG, DM_DOCBASEID_MAP, DM_DOCBROKER, DM_DOCUMENT, DM_DOMAIN, DM_DUMP_OBJECT_RECORD, DM_DUMP_RECORD, DM_EVENT, DM_EXPR_CODE, DM_EXPRESSION, DM_EXTERNALSTORE_FILE_TAG, DM_EXTERNALSTORE_FREE_TAG, DM_EXTERNALSTORE_TAG, DM_EXTERNALSTORE_URL_TAG, DM_FEDERATION, DM_FILE, DM_FILESTORE, DM_FOLDER, DM_FOREIGN_KEY, DM_FORMAT, DM_FULLTEXT, DM_FULLTEXT_INDEX, DM_FUNC_EXPR, DM_GROUP, DM_INBOX, DM_INDEX, DM_KEY, DM_LIGHTWEIGHT_TAG, DM_LINKEDSTORE, DM_LINKRECORD, DM_LITERAL_EXPR, DM_LOAD_OBJECT_RECORD, DM_LOAD_RECORD, DM_LOCATION, DM_METHOD, DM_MOUNT_POINT, DM_NETSTORE, DM_NLS_DD_INFO, DM_NOTE, DM_OBJECT, DM_OTHERFILE, DM_OUTPUTDEVICE, DM_PACKAGE, DM_PARTITION_SCHEME, DM_PLUGIN, DM_POLICY, DM_PROCESS, DM_QUERY, DM_QUEUE_ITEM, DM_RECOVERY, DM_REFERENCE, DM_REGISTERED, DM_REGISTRY, DM_RELATION, DM_RELATIONTYPE, DM_REMOTESTORE, DM_REMOTETICKET, DM_REPLICA_RECORD, DM_ROUTER, DM_SCOPE_CONFIG, DM_SEQUENCE, DM_SERVER_CONFIG, DM_SESSION, DM_STAGED_DOCUMENT, DM_STORE, DM_SUBCONTENT, DM_SYSOBJECT, DM_TRANSACTION_LOG, DM_TYPE, DM_TYPE_INFO, DM_TYPE_MANAGER, DM_UNUSED1, DM_UNUSED2, DM_UNUSED3, DM_UNUSED4, DM_UNUSED5, DM_USER, DM_VALUE_ASSIST, DM_VALUE_FUNC, DM_VALUE_LIST, DM_VALUE_QUERY, DM_VERITY_COLL, DM_VERITY_INDEX, DM_VSTAMP, DM_WORKFLOW, DM_WORKITEM
Constructor and Description |
---|
DfId(int typePart,
long docbasePart,
long objectPart)
Constructs a new instance from the individual pieces of the object Id.
|
DfId(java.lang.String string)
Constructs a new instance from a string repsentation of the object Id.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IDfId id)
Returns -1, 0 or 1 if this IDfId is less than, equal to, or greater than
the IDfId passed as an argument.
|
boolean |
equals(java.lang.Object that)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getDocbaseId()
Returns the portion of the ID that identifies the repository.
|
java.lang.String |
getId()
Returns a string representation of the ID.
|
long |
getNumericDocbaseId()
Returns the portion of the ID that represents the docbase ID in integer form.
|
int |
getTypePart()
Returns the portion of the ID that represents the object type.
|
int |
hashCode() |
boolean |
isNull()
Indicates whether this IDfId object represents a null ID.
("0000000000000000").
|
boolean |
isObjectId()
Indicates whether this ID is a valid object ID.
|
static boolean |
isObjectId(java.lang.String string)
Indicates whether the given string is a properly formed object id.
|
DfId |
nextSequentialId()
Generates an object Id for the next sequential object Id.
|
java.lang.String |
toString()
Returns a string representation of this ID.
|
java.lang.String |
toTraceString(boolean verbose) |
static DfId |
valueOf(java.lang.String string)
Returns an instance with a value represented by the specified String.
|
public static final java.lang.String DF_NULLID_STR
public static final DfId DF_NULLID
public DfId(java.lang.String string)
string
- a string representation of the object identifierpublic DfId(int typePart, long docbasePart, long objectPart)
public DfId nextSequentialId()
public java.lang.String getId()
IDfId
public int getTypePart()
IDfId
The type part is converted to an integer. For example, if the underlying ID is "099af3ce800001ff", this method returns 9. If the ID is "469af3ce80000200", this method returns 70 decimal (46 hex).
getTypePart
in interface IDfId
public java.lang.String getDocbaseId()
IDfId
getDocbaseId
in interface IDfId
public long getNumericDocbaseId()
IDfId
getNumericDocbaseId
in interface IDfId
public boolean isObjectId()
IDfId
isObjectId
in interface IDfId
public boolean isNull()
IDfId
public int compareTo(IDfId id)
IDfId
public final java.lang.String toString()
IDfId
public java.lang.String toTraceString(boolean verbose)
toTraceString
in interface com.documentum.fc.tracing.ITraceString
public boolean equals(java.lang.Object that)
IDfId
If the argument is not an instance of IDfId, this method returns
false
. If this object represents a NULLID
("0000000000000000") and the argument id
equals
null
(or if it is a NULLID itself), this method will
return true
.
public final int hashCode()
hashCode
in class java.lang.Object
public static DfId valueOf(java.lang.String string)
string
- a string.public static boolean isObjectId(java.lang.String string)
string
- a stringCopyright 1994-2023 OpenText Corporation. All rights reserved.