com.ptc.core.foundation.generic.common
Class AttributeContainerSetValidator

java.lang.Object
  extended by com.ptc.core.meta.container.common.AbstractValidator
      extended by com.ptc.core.foundation.generic.common.AttributeContainerSetValidator
All Implemented Interfaces:
ActionValidator

public final class AttributeContainerSetValidator
extends AbstractValidator

Takes a AttributeContainerSet and returns true if valid. AttributeContainerSets can contain functions, these functions are then checked for validity.

Supported API: true

Extendable: false


Method Summary
protected  Object calculate(AttributeContainer the_attribute_container)
          Implemented by the concrete validators

Supported API: true
 AttributeContainerSpec getFilter(AttributeContainerSpec the_filter, TypeIdentifier type_identifier)
          This API is implemented by the concrete validators.
 
Methods inherited from class com.ptc.core.meta.container.common.AbstractValidator
getFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFilter

public AttributeContainerSpec getFilter(AttributeContainerSpec the_filter,
                                        TypeIdentifier type_identifier)
This API is implemented by the concrete validators.

Supported API: true

Specified by:
getFilter in interface ActionValidator
Specified by:
getFilter in class AbstractValidator
Parameters:
the_filter -
type_identifier - Used to get the DefinitionIdentifier for constructing the AttributeTypeIdentifier
Returns:
AttributeContainerSpec

calculate

protected Object calculate(AttributeContainer the_attribute_container)
                    throws com.ptc.core.meta.container.common.InvalidFunctionArgumentException
Implemented by the concrete validators

Supported API: true

Parameters:
the_attribute_container -
Returns:
Object
Throws:
com.ptc.core.meta.container.common.InvalidFunctionArgumentException