public class Viewpoint extends Object implements C2KLocalObject
| Modifier and Type | Field and Description |
|---|---|
static int |
NONE |
| Constructor and Description |
|---|
Viewpoint() |
Viewpoint(ItemPath itemPath,
Schema schema,
String name,
int eventId) |
Viewpoint(ItemPath itemPath,
String schemaName,
String name,
int schemaVersion,
int eventId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterPath()
Each C2KLocalObject is stored with a path identifier starting with the ClusterType:
Properties: /Property/Name
Workflow: /LifeCycle/workflow
Collections: /Collection/Name/Version (default Name='last')
Outcomes: /Outcome/SchemaName/SchemaVersion/EventID
Viewpoints: /ViewPoint/SchemaName/Name (default Name='last')
Events: /AuditTrail/EventID
Jobs: /Job/JobID
|
ClusterType |
getClusterType()
Each object belongs to a specific type defined in
ClusterStorage |
Event |
getEvent() |
String |
getItemUUID() |
Outcome |
getOutcome() |
Outcome |
getOutcome(Object locker) |
void |
setItemUUID(String uuid) |
void |
setName(String n)
Sets the name of the C2KLocalObject
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenforceValidName, getNamepublic static final int NONE
public Viewpoint()
public Viewpoint(ItemPath itemPath, String schemaName, String name, int schemaVersion, int eventId)
public Outcome getOutcome() throws ObjectNotFoundException, PersistencyException
public Outcome getOutcome(Object locker) throws ObjectNotFoundException, PersistencyException
public void setName(String n)
C2KLocalObjectsetName in interface C2KLocalObjectn - Name of the C2KLocalObjectpublic ClusterType getClusterType()
C2KLocalObjectClusterStoragegetClusterType in interface C2KLocalObjectpublic String getClusterPath()
C2KLocalObjectgetClusterPath in interface C2KLocalObjectpublic void setItemUUID(String uuid) throws InvalidItemPathException
InvalidItemPathExceptionpublic String getItemUUID()
public Event getEvent() throws InvalidDataException, PersistencyException, ObjectNotFoundException
Copyright © 1997–2019 CRISTAL-iSE. All rights reserved.