Class VecUsageConstraintSpecification

All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, HasDescription<VecAbstractLocalizedString>, HasIdentification, HasModifiableIdentification, Visitable, Serializable

public class VecUsageConstraintSpecification extends VecSpecification implements Serializable, Visitable

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 Details

    • constrainedParts

      protected List<VecPartVersion> constrainedParts

      References thePartVersionsto which thisUsageConstraintSpecificationapplies.

    • partUsageConstraints

      protected List<VecUsageConstraint> partUsageConstraints
  • Constructor Details

    • VecUsageConstraintSpecification

      public VecUsageConstraintSpecification()
  • Method Details

    • getPartUsageConstraints

      public List<VecUsageConstraint> 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 set method 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

      public List<VecPartVersion> 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 set method 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 Object

      References thePartVersionsto which thisUsageConstraintSpecificationapplies.

    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable