public interface Category extends NXObject
CategoryCollection.createCategory(java.lang.String, java.lang.String, int[])
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Field and Description |
---|---|
static int |
DESCRIPTION_MAX_LENGTH |
Modifier and Type | Method and Description |
---|---|
String |
description()
Returns the category's description, if one exists
License requirements: None. |
int[] |
getMemberLayers()
Returns all the layers that belong to the category
License requirements: None. |
void |
setDescription(String description)
Sets the category's description, if one exists
License requirements: None. |
void |
setMemberLayers(int[] layers)
Sets which layers belong to the category
License requirements: None. |
void |
setState(State state)
Changes the state of every layer in the category to the
specified state, except the work layer
License requirements: None. |
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, 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
static final int DESCRIPTION_MAX_LENGTH
String description() throws NXException, RemoteException
NXException
RemoteException
void setDescription(String description) throws NXException, RemoteException
description
- NXException
RemoteException
void setMemberLayers(int[] layers) throws NXException, RemoteException
layers
- NXException
RemoteException
int[] getMemberLayers() throws NXException, RemoteException
NXException
RemoteException
void setState(State state) throws NXException, RemoteException
state
- new state for the category. Must not be
State.WORK_LAYER
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.