public class ObjectId extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static ObjectId |
ROOT_OBJECT |
Constructor and Description |
---|
ObjectId(String objectId)
The format of the Object id string should follow the following formatting:
"agentName:agentTypeName:agentTypeVersion:objectTypeName:objectKey"
Note that every part separated by : MUST be encoded, it is imperative that ONLY the parts separated by : is encoded, not the objectId as a
whole, that will make impossible to break it down into its parts again.
|
ObjectId(String agentName,
AgentTypeId agentTypeId,
String objectTypeName,
String objectKey) |
ObjectId(String agentName,
ObjectTypeId objectTypeId,
String objectKey) |
ObjectId(String agentName,
String agentTypeName,
String agentTypeVersion,
String objectTypeName,
String objectKey)
Note: None of the parameters should be encoded, and must not be encoded when used separated from each other.
|
Modifier and Type | Method and Description |
---|---|
String |
agentName() |
String |
agentTypeName() |
String |
agentTypeVersion() |
boolean |
equals(Object obj) |
String |
getAgentTypeId() |
static ObjectId[] |
getObjectIds(List<String> objectidentifiers) |
ObjectTypeId |
getObjectTypeId() |
int |
hashCode() |
String |
objectKey() |
String |
objectTypeName() |
String |
toString() |
public static final ObjectId ROOT_OBJECT
public ObjectId(String objectId)
objectId
- public ObjectId(String agentName, String agentTypeName, String agentTypeVersion, String objectTypeName, String objectKey)
agentName
- agentTypeName
- agentTypeVersion
- objectTypeName
- public ObjectId(String agentName, AgentTypeId agentTypeId, String objectTypeName, String objectKey)
public ObjectId(String agentName, ObjectTypeId objectTypeId, String objectKey)
public String agentName()
public String agentTypeName()
public String agentTypeVersion()
public String objectTypeName()
public String objectKey()
public ObjectTypeId getObjectTypeId()
public String getAgentTypeId()
Copyright © 2022 Cloud Software Group, Inc.. All Rights Reserved.