public interface AlternateIdManager extends TransientObject
PDM.PartBuilder#newAlternateIdManager
to get the instance of this class. Modifier and Type | Interface and Description |
---|---|
static class |
AlternateIdManager.AlternateIdsData
Contains alternate Ids data
|
static class |
AlternateIdManager.AssignAlternateIdData
This class holds the data returned from
assignAlternateId() |
static class |
AlternateIdManager.AssignAlternateRevData
Contains alternate Revision Id data
|
Modifier and Type | Method and Description |
---|---|
AlternateIdManager.AssignAlternateIdData |
assignAlternateId()
This method generates alternate item and revision IDs and sets these generated
values on this manager class.
|
AlternateIdManager.AlternateIdsData |
assignAlternateIds(String context,
String idType)
Generates the alternate ID information by calling
assignAlternateIds(java.lang.String, java.lang.String) . |
String |
assignAlternateRevId()
This method generates an alternate rev ID and sets this generated value on
this manager class.
|
AlternateIdManager.AssignAlternateRevData |
assignAlternateRevision()
Generates the alternate Revision ID information.
|
void |
createAlternateIdInformation()
Adds the alternate ID information set by calling
setAlternateIdInformation(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean) and the various "assign" and "set"
methods. |
String[] |
getAllContexts()
Gets a list of all the available contexts.
|
String[] |
getAllIdTypes(String context)
Gets a list of all the available ID types for a given context.
|
String |
getAlternateDescription()
Gets the value of a alternate name as it is currently set on this manager class.
|
boolean |
getAlternateIdAsDefaultIndentifier()
Gets (as it is currently set on this manager class) whether the
alternate ID information should be the default indentifier.
|
String |
getAlternateItemId()
Gets the value of a alternate ID as it is currently set on this manager class.
|
String |
getAlternateName()
Gets the value of a alternate name as it is currently set on this manager class.
|
String |
getAlternateRevId()
Gets the value of a alternate rev ID as it is currently set on this manager class.
|
String |
getContext()
Gets the value of a context as it is currently set on this manager class.
|
String |
getIdType()
Gets the value of a ID type as it is currently set on this manager class.
|
void |
setAlternateDescription(String alternateDescription)
Sets the value of the alternate description.
|
void |
setAlternateIdAsDefaultIndentifier(boolean alternateIdAsDefaultIndentifier)
Sets whether the alternate ID information should be the default indentifier.
|
void |
setAlternateIdInformation(String context,
String idType,
String alternateItemId,
String alternateRevId,
String alternateName,
String alternateDescription,
boolean alternateIdAsDefaultIndentifier)
Sets alternate ID information on this manager class. null can be specified
for parameters which are set via other set or assign methods on this builder.
|
void |
setAlternateItemId(String alternateItemId)
Sets the value of the alternate item ID.
|
void |
setAlternateName(String alternateName)
Sets the value of the alternate name.
|
void |
setAlternateRevId(String alternateRevId)
Sets the value of the alternate rev ID.
|
void |
setContext(String context)
Sets the value of a context.
|
void |
setIdType(String idType)
Sets the value of an ID type.
|
_value, dispose, printTestData, printTestData
void setContext(String context) throws NXException, RemoteException
context
- the new value the context is to be set to NXException
RemoteException
String getContext() throws NXException, RemoteException
NXException
RemoteException
String[] getAllContexts() throws NXException, RemoteException
NXException
RemoteException
void setIdType(String idType) throws NXException, RemoteException
idType
- the new value the ID type is to be set to NXException
RemoteException
String getIdType() throws NXException, RemoteException
NXException
RemoteException
String[] getAllIdTypes(String context) throws NXException, RemoteException
context
- the context NXException
RemoteException
void setAlternateItemId(String alternateItemId) throws NXException, RemoteException
alternateItemId
- the new value the alternate item ID is to be set to NXException
RemoteException
AlternateIdManager.AssignAlternateIdData assignAlternateId() throws NXException, RemoteException
NXException
RemoteException
String getAlternateItemId() throws NXException, RemoteException
NXException
RemoteException
void setAlternateRevId(String alternateRevId) throws NXException, RemoteException
alternateRevId
- the new value the alternate rev ID
is to be set to NXException
RemoteException
String assignAlternateRevId() throws NXException, RemoteException
NXException
RemoteException
String getAlternateRevId() throws NXException, RemoteException
NXException
RemoteException
void setAlternateName(String alternateName) throws NXException, RemoteException
alternateName
- the new value the alternate name is to be set to NXException
RemoteException
String getAlternateName() throws NXException, RemoteException
NXException
RemoteException
void setAlternateDescription(String alternateDescription) throws NXException, RemoteException
alternateDescription
- the new value the alternate description
is to be set to NXException
RemoteException
String getAlternateDescription() throws NXException, RemoteException
NXException
RemoteException
void setAlternateIdAsDefaultIndentifier(boolean alternateIdAsDefaultIndentifier) throws NXException, RemoteException
alternateIdAsDefaultIndentifier
- the new value the option
is to be set toNXException
RemoteException
boolean getAlternateIdAsDefaultIndentifier() throws NXException, RemoteException
NXException
RemoteException
void setAlternateIdInformation(String context, String idType, String alternateItemId, String alternateRevId, String alternateName, String alternateDescription, boolean alternateIdAsDefaultIndentifier) throws NXException, RemoteException
context
- the new value the context is to be set to idType
- the new value the ID type is to be set to alternateItemId
- the new value the alternate item ID is to be set to alternateRevId
- the new value the alternate rev ID
is to be set to alternateName
- the new value the alternate name is to be set to alternateDescription
- the new value the alternate description
is to be set to alternateIdAsDefaultIndentifier
- the new value the option
is to be set toNXException
RemoteException
void createAlternateIdInformation() throws NXException, RemoteException
setAlternateIdInformation(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
and the various "assign" and "set"
methods. The context, ID type, alternate ID, alternate revision ID, and the
alternate name must all be set before calling this method.
NXException
RemoteException
AlternateIdManager.AlternateIdsData assignAlternateIds(String context, String idType) throws NXException, RemoteException
assignAlternateIds(java.lang.String, java.lang.String)
. Returns pointer to PDM.Altids.AlternateIdsData object.
Sets Alternate Name,Alternate Id,Alternate Revision ,Alternate Description,
flag for alternate Id modifiable and flag for revision modifiable into Alternate Manager object.
context
- the context idType
- the Id type NXException
RemoteException
AlternateIdManager.AssignAlternateRevData assignAlternateRevision() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.