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

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

public final class ConstraintsValidator
extends AbstractValidator

Retrieves the ConstraintContainer from the typeInstance and validates that all the required objects are set.

Supported API: true

Extendable: false


Method Summary
 AttributeContainerSpec getFilter(AttributeContainerSpec the_filter, TypeIdentifier type_identifier)
          Will add the filter this validator needs to the supplied parameter and return that parameter.
 
Methods inherited from class com.ptc.core.meta.container.common.AbstractValidator
getFilter, isValid
 
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)
Will add the filter this validator needs to the supplied parameter and return that parameter.

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