public interface INXObject extends Remote
Modifier and Type | Method and Description |
---|---|
INXObject |
findObject(String journalIdentifier)
Finds the
NXObject with the given identifier as recorded in a journal. |
boolean |
isOccurrence()
Returns whether this object is an occurrence or not.
|
String |
journalIdentifier()
Returns the identifier that would be recorded in a journal for this object.
|
String |
name()
Returns the custom name of the object.
|
Component |
owningComponent()
Returns the owning component, if this object is an occurrence.
|
BasePart |
owningPart()
Returns the owning part of this object
License requirements: None. |
void |
print()
Prints a representation of this object to the system log file.
|
INXObject |
prototype()
Returns the prototype of this object if it is an occurrence.
|
void |
setName(String name)
Sets the custom name of the object.
|
INXObject findObject(String journalIdentifier) throws NXException, RemoteException
NXObject
with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of
the software. However newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general, this method
should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier
- Journal identifier of the objectNXException
RemoteException
String journalIdentifier() throws NXException, RemoteException
NXException
RemoteException
boolean isOccurrence() throws NXException, RemoteException
NXException
RemoteException
INXObject prototype() throws NXException, RemoteException
NXException
RemoteException
Component owningComponent() throws NXException, RemoteException
NXException
RemoteException
BasePart owningPart() throws NXException, RemoteException
NXException
RemoteException
void print() throws NXException, RemoteException
NXException
RemoteException
String name() throws NXException, RemoteException
NXException
RemoteException
void setName(String name) throws NXException, RemoteException
name
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.