Package com.ptc.core.meta.container.common

See:
          Description

Interface Summary
ActionValidator Interface for the common methods of Validators.
AttributeContainer Provides APIs for storing, retreiving, and managing attributes, attribute content, and attribute context.
AttributeContainerFunction

Supported API: true

Extendable: true
AttributeTypeSummary

Supported API: true

Extendable: false
Constrainable

Supported API: true

Extendable: false
ConstraintClassNameConstants Convenience string constants used by constraint factories for constructing ConstraintIdentifiers.
ConstraintContainer ConstraintContainer interface provides APIs for storing/retreiving data used for contraints.
DescriptorContainer

Supported API: true

Extendable: false
ServerAttributeContainerFunction

Supported API: true

Extendable: true
ValidatorFactoryIF Application-independent interface.
 

Class Summary
AbstractAttributeContainerFunction Resolves the_argument to it's most primitive form: the_argument resolves to ------------------- ---------------- Object obj Object obj AttributeContainerFunction acf Object acf.calculate() AttributeContainerFunction[] acfs Object[] acfs[i's] AttributeTypeIdentifier ati Object attrContainer.get(ati) AttributeTypeIdentifier[] atis Object attrContainer.get(atis[i]) AttributeIdentifier ai Object attrContainer.get(ai) AttributeIdentifier[] ais Object attrContainer.get(ais[i])

Supported API: true

Extendable: false
AbstractValidator Provides default functionality for Validators

Supported API: true

Extendable: true
ACFConcatenate

Supported API: true

Extendable: false
ACFConditionalExpression ACFConditionalExpression performs Conditional Expression Operation.
ACFDescendantsOf

Supported API: true

Extendable: false
ACFEquals

Supported API: true

Extendable: false
ACFIsElementOf

Supported API: true

Extendable: false
ACFMessageFormat ACFMessageFormat takes a set of objects, formats them, then inserts the formatted strings into the pattern at the appropriate places.
ACFNot

Supported API: true

Extendable: false
ACFValueOf

Supported API: true

Extendable: false
AttributeContainerSpec

Supported API: true

Extendable: false
State

Supported API: true

Extendable: false
ValidatorFactory Application-specific class that implements the ValidatorFactoryIF and has methods to create Validator concrete objects.
ValidatorHelper The ValidatorHelper is an application independent class that needs to create application-specific classes.
ValueWrapperFunction

Supported API: true

Extendable: false
 

Exception Summary
ConstraintException

Supported API: true

Extendable: false
IllegalContentException

Supported API: true

Extendable: false
 

Package com.ptc.core.meta.container.common Description

 

Attribute Container

TypeInstances implement the AttributeContainer interface, providing the capability to add, manipulate, and remove attribute content. The AttributeContainer interface provides methods to retrieve both the AttributeTypeIdentifiers and the AttributeIdentifiers from within the container, and then to retrieve/replace the content associated with those AttributeIdentifiers.

Example: Setting the ‘Length’ Attribute on a part.

TypeInstance part = someComponent.getPart(parameters);

AttributeIdentifier attr = DefaultIdentifierFactory.getInstance().get("WCTYPE|wt.part.WTPart~IBA|Length");

FloatingPoint value = new FloatingPointWithUnits(new Unit("10.0","ft"));

try {

part.put(attr,value);

}

catch (IllegalContentException e) {

// PRINT ERROR

}