|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.meta.container.common.AbstractValidator
public abstract class AbstractValidator
Provides default functionality for Validators
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
AttributeContainerSpec |
getFilter(AttributeContainerSpec the_filter,
String logical_id,
TypeIdentifier type_identifier)
Will add the filter this validator needs to the supplied parameter and return that parameter. |
abstract AttributeContainerSpec |
getFilter(AttributeContainerSpec the_filter,
TypeIdentifier type_identifier)
This API is implemented by the concrete validators. |
boolean |
isValid(AttributeContainer attribute_container)
Returns false only if the validator check specifically fails. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract AttributeContainerSpec getFilter(AttributeContainerSpec the_filter,
TypeIdentifier type_identifier)
getFilter in interface ActionValidatorthe_filter - type_identifier - Used to get the DefinitionIdentifier for constructing the AttributeTypeIdentifier
public AttributeContainerSpec getFilter(AttributeContainerSpec the_filter,
String logical_id,
TypeIdentifier type_identifier)
getFilter in interface ActionValidatorthe_filter - logical_id - type_identifier - Used to get the DefinitionIdentifier for constructing the AttributeTypeIdentifier
public boolean isValid(AttributeContainer attribute_container)
throws com.ptc.core.meta.container.common.InvalidFunctionArgumentException
isValid in interface ActionValidatorattribute_container -
com.ptc.core.meta.container.common.InvalidFunctionArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||