Class VecUsageConstraintSpecification
- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,HasDescription<VecAbstractLocalizedString>,HasIdentification,HasModifiableIdentification,Visitable,Serializable
Specification for the definition of usage constraints. The associated UsageContraints are restricting the possible usages of the associated PartVersions and PartUsages.
Java class for UsageConstraintSpecification complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UsageConstraintSpecification">
<complexContent>
<extension base="{http://www.prostep.org/ecad-if/2011/vec}Specification">
<sequence>
<element name="ConstrainedParts" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
<element name="PartUsageConstraint" type="{http://www.prostep.org/ecad-if/2011/vec}UsageConstraint" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecPartVersion>References thePartVersionsto which thisUsageConstraintSpecificationapplies.protected List<VecUsageConstraint>Fields inherited from class com.foursoft.harness.vec.v113.VecSpecification
descriptions, identificationFields inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
customProperties, xmlId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the constrainedParts property.Gets the value of the partUsageConstraints property.Methods inherited from class com.foursoft.harness.vec.v113.VecSpecification
getDescriptions, getIdentification, getParentDocumentVersion, getParentSheetOrChapter, setIdentificationMethods inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
getCustomProperties, getRefExternalMapping, getXmlId, setXmlId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.foursoft.harness.vec.common.HasCustomProperties
getCustomPropertiesWithType, getCustomProperty
-
Field Details
-
constrainedParts
References thePartVersionsto which thisUsageConstraintSpecificationapplies.
-
partUsageConstraints
-
-
Constructor Details
-
VecUsageConstraintSpecification
public VecUsageConstraintSpecification()
-
-
Method Details
-
getPartUsageConstraints
Gets the value of the partUsageConstraints property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the partUsageConstraints property.For example, to add a new item, do as follows:
getPartUsageConstraints().add(newItem);Objects of the following type(s) are allowed in the list
VecUsageConstraint- Returns:
- The value of the partUsageConstraints property.
-
getConstrainedParts
Gets the value of the constrainedParts property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the constrainedParts property.For example, to add a new item, do as follows:
getConstrainedParts().add(newItem);Objects of the following type(s) are allowed in the list
ObjectReferences thePartVersionsto which thisUsageConstraintSpecificationapplies.
-
accept
-