Class ProjectConstraintFactory

java.lang.Object
com.ptc.core.meta.type.runtime.server.impl.AbstractModelBasedConstraintFactory
com.ptc.core.foundation.project.server.impl.ProjectConstraintFactory
All Implemented Interfaces:
OperationIdentifierConstants, ConstraintClassNameConstants, com.ptc.core.meta.container.common.ConstraintFactory, Serializable, wt.fc._NetFactor, NetFactor

@Deprecated public final class ProjectConstraintFactory extends com.ptc.core.meta.type.runtime.server.impl.AbstractModelBasedConstraintFactory implements Serializable
Deprecated.
Attribute specific constraint factory. If the attributes represented by the logical identifiers "project" or "project.id" are in the passed in AttributeTypeIdentifier array then constraints will be added. The following constraints are added based on the passed in OperationIdentifier (operation/constraints): search - SUGGESTED_VALUES_CONSTRAINT create - SUGGESTED_VALUES_CONSTRAINT update - IMMUTABLE_CONSTRAINT

Use the newProjectConstraintFactory static factory method(s), not the ProjectConstraintFactory constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • constrain

      public void constrain(AttributeContainer the_attribute_container, AttributeTypeIdentifier[] the_filter, OperationIdentifier the_operation_identifier)
      Deprecated.
      Update the passed in AttributeContainer's ConstraintContainer based on the passed in OperationIdentifier and AttributeTypeIdentifier array.

      Supported API: true
      Specified by:
      constrain in interface com.ptc.core.meta.container.common.ConstraintFactory
      Parameters:
      the_attribute_container -
      the_filter -
      the_operation_identifier -