Enum Class VecPartRelationType

java.lang.Object
java.lang.Enum<VecPartRelationType>
com.foursoft.harness.vec.v113.VecPartRelationType
All Implemented Interfaces:
Serializable, Comparable<VecPartRelationType>, Constable

public enum VecPartRelationType extends Enum<VecPartRelationType>

Defines how the set ofacessoryPartsreferenced by aPartRelationshould be interpreted.

Java class for PartRelationType.

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


 <simpleType name="PartRelationType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="Mandatory"/>
     <enumeration value="Optional"/>
     <enumeration value="OneOfAll"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • MANDATORY

      public static final VecPartRelationType MANDATORY

      Mandatorymeans that in a usage of a componentallreferencedacessoryPartsmust be used.

    • OPTIONAL

      public static final VecPartRelationType OPTIONAL

      Optionalmeans that in a usage of a componentsomereferencedacessoryPartscan be used by choice.

    • ONE_OF_ALL

      public static final VecPartRelationType ONE_OF_ALL

      OneOfAllmeans that in a usage of a component exactlyoneof the referencedacessoryPartsmust be selected.

  • Method Details

    • values

      public static VecPartRelationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VecPartRelationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static VecPartRelationType fromValue(String v)