public interface Validation extends NXObject
Validation
object.
ValidationCollection.create(java.lang.String, nxopen.Validation.InputType)
Modifier and Type | Interface and Description |
---|---|
static class |
Validation.InputType
Specifies the input type
|
static class |
Validation.LookupIntegerData
This class holds the data returned from
lookupInteger(java.lang.String) |
static class |
Validation.LookupNumberData
This class holds the data returned from
lookupNumber(java.lang.String) |
static class |
Validation.LookupTextData
This class holds the data returned from
lookupText(java.lang.String) |
static class |
Validation.LookupTimeData
This class holds the data returned from
lookupTime(java.lang.String) |
static class |
Validation.MapType
Specifies the map types
|
static class |
Validation.Result
Specifies result of the validation
|
static class |
Validation.UpdateTime
Specifies when to validate
|
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
double number)
Add a real to the validation map
License requirements: None. |
void |
add(String key,
int number)
Add a integer to the validation map
License requirements: None. |
void |
add(String key,
int day,
int time)
Add a time to the validation map
License requirements: None. |
void |
add(String key,
NXObject[] objs)
Add a objects to the validation map
License requirements: None. |
void |
add(String key,
String text)
Add a text to the validation map
License requirements: None. |
void |
delete()
Delete Validation Object
License requirements: None. |
Validation.Result |
evaluate()
Manually validate
License requirements: None. |
NXObject[] |
getAssociatedObjects()
Gets associated objects for the check.
|
Validation.Result |
getCheckResult()
The validation result.
|
Validation.Result |
getInitialResult()
The initial result.
|
String[] |
getKeys()
Get keys
License requirements: None. |
Validation.MapType |
getKeyType(String key)
Get key type
License requirements: None. |
boolean |
getSuppressed()
The suppress state of the validation
License requirements: None. |
void |
information()
Information display on a Validation Object
License requirements: None. |
NXObject[] |
lookup(String key)
Lookup a objects to the validation map
License requirements: None. |
Validation.LookupIntegerData |
lookupInteger(String key)
Lookup a integer to the validation map
License requirements: None. |
Validation.LookupNumberData |
lookupNumber(String key)
Lookup a real to the validation map
License requirements: None. |
Validation.LookupTextData |
lookupText(String key)
Lookup a text to the validation map
License requirements: None. |
Validation.LookupTimeData |
lookupTime(String key)
Lookup a time to the validation map
License requirements: None. |
void |
remove(String key)
Remove a key from the map
License requirements: None. |
void |
replace(String key,
NXObject[] objs)
Replace objects of a key in the validation map
License requirements: None. |
String |
requirement()
Returns the requirement path.
|
void |
setAssociatedObjects(NXObject[] objects)
Specifies or removes associated objects for the check.
|
void |
setCheckResult(Validation.Result result)
Set the result of validation.
|
void |
setRequirement(String requirement)
License requirements: None. |
void |
setSuppressed(boolean suppress)
License requirements: None. |
void |
setUpdateControl(Validation.UpdateTime updateTime)
Define the update behavior of the validation object
License requirements: None. |
void |
setUserClassName(String name)
Set user class name
License requirements: None. |
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
void setUpdateControl(Validation.UpdateTime updateTime) throws NXException, RemoteException
updateTime
- Sets the time of updateNXException
RemoteException
void add(String key, NXObject[] objs) throws NXException, RemoteException
key
- Map keyobjs
- Objects to be associate with the keyNXException
RemoteException
void replace(String key, NXObject[] objs) throws NXException, RemoteException
key
- Map keyobjs
- Objects to be associate with the keyNXException
RemoteException
void add(String key, String text) throws NXException, RemoteException
key
- Map keytext
- Text to be associate with the keyNXException
RemoteException
void add(String key, double number) throws NXException, RemoteException
key
- Map keynumber
- Real to be associate with the keyNXException
RemoteException
void add(String key, int number) throws NXException, RemoteException
key
- Map keynumber
- Integer to be associate with the keyNXException
RemoteException
void add(String key, int day, int time) throws NXException, RemoteException
key
- Map keyday
- Date to be associated with the keytime
- Time to be associate with the keyNXException
RemoteException
Validation.Result evaluate() throws NXException, RemoteException
NXException
RemoteException
Validation.Result getCheckResult() throws NXException, RemoteException
NXException
RemoteException
void setCheckResult(Validation.Result result) throws NXException, RemoteException
result
- NXException
RemoteException
String[] getKeys() throws NXException, RemoteException
NXException
RemoteException
Validation.MapType getKeyType(String key) throws NXException, RemoteException
key
- Map keyNXException
RemoteException
void setUserClassName(String name) throws NXException, RemoteException
name
- the class name NXException
RemoteException
NXObject[] lookup(String key) throws NXException, RemoteException
key
- Map keyNXException
RemoteException
Validation.LookupNumberData lookupNumber(String key) throws NXException, RemoteException
key
- Map keyNXException
RemoteException
Validation.LookupTextData lookupText(String key) throws NXException, RemoteException
key
- Map keyNXException
RemoteException
Validation.LookupIntegerData lookupInteger(String key) throws NXException, RemoteException
key
- Map keyNXException
RemoteException
Validation.LookupTimeData lookupTime(String key) throws NXException, RemoteException
key
- Map keyNXException
RemoteException
void remove(String key) throws NXException, RemoteException
key
- Map keyNXException
RemoteException
boolean getSuppressed() throws NXException, RemoteException
NXException
RemoteException
void setSuppressed(boolean suppress) throws NXException, RemoteException
suppress
- Suppress flag true = supress, false = unsupressNXException
RemoteException
Validation.Result getInitialResult() throws NXException, RemoteException
NXException
RemoteException
void delete() throws NXException, RemoteException
NXException
RemoteException
void information() throws NXException, RemoteException
NXException
RemoteException
String requirement() throws NXException, RemoteException
NXException
RemoteException
void setRequirement(String requirement) throws NXException, RemoteException
requirement
- requirement pathNXException
RemoteException
NXObject[] getAssociatedObjects() throws NXException, RemoteException
NXException
RemoteException
void setAssociatedObjects(NXObject[] objects) throws NXException, RemoteException
objects
- Objects to be associated with the checkNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.