public interface ArrangementCollection extends TaggedObjectCollection
ComponentAssembly
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
Arrangement |
create(Arrangement templateArrangement,
String name)
Creates a standard
Arrangement , based on an existing standard Arrangement . |
Arrangement |
createIsolated(Arrangement templateArrangement,
String name)
|
Arrangement |
findObject(String journalIdentifier)
Finds the
Arrangement with the given identifier as recorded in a journal. |
_find_next, iterator
Arrangement create(Arrangement templateArrangement, String name) throws NXException, RemoteException
Arrangement
, based on an existing standard Arrangement
.
Note that any ComponentAssembly
that contains components will have at least one standard Arrangement
.
See ComponentAssembly.activeArrangement()
.
Note that the existing Arrangement
must not be isolated.
templateArrangement
- The original Arrangement
. The new Arrangement
will be copied from this. This Arrangement
must not be isolated.name
- The name of the new arrangementNXException
RemoteException
Arrangement createIsolated(Arrangement templateArrangement, String name) throws NXException, RemoteException
Arrangement
, based on an existing Arrangement
Arrangement
.
Note that any ComponentAssembly
that contains components will have at least one standard Arrangement
.
See ComponentAssembly.activeArrangement()
.
Note that the existing Arrangement
must not be isolated.
templateArrangement
- The original Arrangement
. This Arrangement
must not be isolated.name
- The name of the new Arrangement
.Arrangement
.NXException
RemoteException
Arrangement findObject(String journalIdentifier) throws NXException, RemoteException
Arrangement
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
- Name of the arrangement to be foundNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.