public interface Order extends NXObject
Modifier and Type | Interface and Description |
---|---|
static class |
Order.State
Represents whether an order is saved or not
|
static class |
Order.Type
Represents the type of an order
|
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat
Modifier and Type | Method and Description |
---|---|
void |
activate()
Applies this order
License requirements: None. |
void |
delete()
Deletes an order
License requirements: assemblies ("ASSEMBLIES MODULE") . |
Component[] |
getChildrenOrder(Component parent)
Deprecated.
Deprecated in NX10.0.0. Use
ComponentOrder.askChildrenOrder(nxopen.assemblies.ComponentAssembly) instead to get children order in this ComponentOrder .
|
boolean |
getReversed()
Gets the reverse state of the
Order
License requirements: None. |
Order.State |
orderState()
Returns the state of
Order . |
Order.Type |
orderType()
Returns the type of
Order . |
void |
save()
Saves an order
License requirements: assemblies ("ASSEMBLIES MODULE") . |
Order |
saveAs(String newName)
Creates a copy of the order, and gives the copy a new name.
|
void |
setReversed(boolean isReversed)
Sets the reverse state of the
Order
License requirements: assemblies ("ASSEMBLIES MODULE") Created in NX9.0.0 |
deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
Order.State orderState() throws NXException, RemoteException
Order
. An order can be in one of the
Order.State
.
NXException
RemoteException
Order.Type orderType() throws NXException, RemoteException
Order
. An order can be of
Order.Type
NXException
RemoteException
boolean getReversed() throws NXException, RemoteException
NXException
RemoteException
void setReversed(boolean isReversed) throws NXException, RemoteException
Order
isReversed
- NXException
RemoteException
void activate() throws NXException, RemoteException
NXException
RemoteException
void delete() throws NXException, RemoteException
NXException
RemoteException
void save() throws NXException, RemoteException
NXException
RemoteException
Order saveAs(String newName) throws NXException, RemoteException
ComponentAssembly
contains a set of system defined orders,
which could be queried using ComponentAssembly.getComponentOrders()
method.
A new nxopen.assemblies.Order.Type.UserDefinedComponent
order can only be created using this method.
newName
- NXException
RemoteException
Component[] getChildrenOrder(Component parent) throws NXException, RemoteException
ComponentOrder.askChildrenOrder(nxopen.assemblies.ComponentAssembly)
instead to get children order in this ComponentOrder
.
ComponentAssembly
as they are ordered in this ComponentOrder
parent
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.