|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.meta.type.runtime.server.impl.AbstractModelBasedConstraintFactory
public abstract class AbstractModelBasedConstraintFactory
Abstract class providing methods useful to constraint factories adding
constraints for modeled attributes.
Supported API: true
Extendable: true
| Field Summary |
|---|
| Fields inherited from interface com.ptc.core.meta.common.OperationIdentifierConstants |
|---|
CHANGE_CLASSIFICATION, CHANGE_FOLDER, CHANGE_IDENTIFIER, CHANGE_LIFE_CYCLE, CHANGE_LIFE_CYCLE_STATE, CHANGE_PROJECT, CHANGE_VIEW, COPY, CREATE, DELETE, REVISE, SEARCH, UPDATE, VIEW |
| Method Summary | |
|---|---|
void |
constrain(AttributeContainer[] the_attribute_containers,
AttributeTypeIdentifier[] the_filter,
OperationIdentifier the_operation_identifier)
Iterates calling constrain(AttributeContainer, AttributeTypeIdentifier[], OperationIdentifier) for each AttributeContainer in the passed in AttributeContainer array. |
com.ptc.core.meta.common.ConstraintIdentifier |
getConstraintIdentifier(String binding_rule_classname,
String enforcement_rule_classname,
AttributeTypeIdentifier ati)
Encapsulates the construction of a ConstraintIdentifier. |
PropertyDescriptor |
getPropertyDescriptor(AttributeTypeIdentifier ati)
Given an AttributeTypeIdentifier for a modeled attribute returns the PropertyDescriptor for the primitive value. |
protected boolean |
isConstraintFactorySpecificAttribute(String[] logical_forms,
AttributeTypeIdentifier ati)
Returns true if the passed in AttributeTypeIdentifier's name is equivalent to any of the passed in attributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public com.ptc.core.meta.common.ConstraintIdentifier getConstraintIdentifier(String binding_rule_classname,
String enforcement_rule_classname,
AttributeTypeIdentifier ati)
binding_rule_classname - A binding rule String value from com.ptc.core.meta.container.common.ConstraintClassNameConstants.enforcement_rule_classname - An enforcement rule String value from com.ptc.core.meta.container.common.ConstraintClassNameConstants.ati -
public PropertyDescriptor getPropertyDescriptor(AttributeTypeIdentifier ati)
ati -
public void constrain(AttributeContainer[] the_attribute_containers,
AttributeTypeIdentifier[] the_filter,
OperationIdentifier the_operation_identifier)
the_attribute_containers - the_filter - the_operation_identifier -
protected boolean isConstraintFactorySpecificAttribute(String[] logical_forms,
AttributeTypeIdentifier ati)
logical_forms - ati -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||