Class VecSpecificRole

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

public class VecSpecificRole extends VecRole implements Serializable, Visitable

A SpecificRole is the possibility to define instance specific properties with custom properties (see ExtendableElement). This is necessary, if the part is described by custom properties of a PartOrUsageRelatedSpecification.

Java class for SpecificRole complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="SpecificRole">
   <complexContent>
     <extension base="{http://www.prostep.org/ecad-if/2011/vec}Role">
       <sequence>
         <element name="SpecificRoleType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Specification" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • specificRoleType

      protected String specificRoleType

      Specifies the type for role.

    • specification

      protected VecPartOrUsageRelatedSpecification specification

      References thePartOrUsageRelatedSpecificationthat is instantiated by thisSpecificRole.

  • Constructor Details

    • VecSpecificRole

      public VecSpecificRole()
  • Method Details

    • getSpecificRoleType

      public String getSpecificRoleType()
      Gets the value of the specificRoleType property.

      Specifies the type for role.

      Returns:
      possible object is String
    • setSpecificRoleType

      public void setSpecificRoleType(String value)
      Sets the value of the specificRoleType property.
      Parameters:
      value - allowed object is String
      See Also:
    • getSpecification

      public VecPartOrUsageRelatedSpecification getSpecification()
      Gets the value of the specification property.

      References thePartOrUsageRelatedSpecificationthat is instantiated by thisSpecificRole.

      Returns:
      possible object is Object
    • setSpecification

      public void setSpecification(VecPartOrUsageRelatedSpecification value)
      Sets the value of the specification property.
      Parameters:
      value - allowed object is Object
      See Also:
    • accept

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