Enum Class VecPrimaryPartType
- All Implemented Interfaces:
Serializable,Comparable<VecPrimaryPartType>,Constable
The primary type of the part defines the type of the part (e.g. ConnectorHousing, Fixing, etc.) Since the VEC supports dual use parts (e.g. Fixing & WireProtection) the primary part type is necessary to define which specification associated to part is the primary character of the part. Therefore all primary part types correspond to a PartOrUsageRelatedSpecification (e.g. ConnectorHousing --> ConnectorHousingSpecification).
The primary part type 'Other' is used if the PartVersion is not further specified by the VEC, which means it has no PartOrUsageRelatedSpecification, only a GeneralTechnicalPartSpecification or a direct instance of PartOrUsageRelatedSpecification.
Java class for PrimaryPartType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PrimaryPartType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Antenna"/>
<enumeration value="Battery"/>
<enumeration value="BoltMountedFixing"/>
<enumeration value="CableDuct"/>
<enumeration value="CableTie"/>
<enumeration value="CavityAccessory"/>
<enumeration value="CavityPlug"/>
<enumeration value="CavitySeal"/>
<enumeration value="ConnectorHousing"/>
<enumeration value="ConnectorHousingCap"/>
<enumeration value="CorrugatedPipe"/>
<enumeration value="EdgeMountedFixing"/>
<enumeration value="EEComponent"/>
<enumeration value="Fitting"/>
<enumeration value="Fixing"/>
<enumeration value="Fuse"/>
<enumeration value="Grommet"/>
<enumeration value="HoleMountedFixing"/>
<enumeration value="MultiCavityPlug"/>
<enumeration value="MultiCavitySeal"/>
<enumeration value="MultiFuse"/>
<enumeration value="Other"/>
<enumeration value="PartStructure"/>
<enumeration value="PluggableTerminal"/>
<enumeration value="PotentialDistributor"/>
<enumeration value="Relay"/>
<enumeration value="RingTerminal"/>
<enumeration value="ShrinkableTube"/>
<enumeration value="SpliceTerminal"/>
<enumeration value="Stripe"/>
<enumeration value="Tape"/>
<enumeration value="Terminal"/>
<enumeration value="Tube"/>
<enumeration value="Wire"/>
<enumeration value="WireEndAccessory"/>
<enumeration value="WireProtection"/>
</restriction>
</simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic VecPrimaryPartTypevalue()static VecPrimaryPartTypeReturns the enum constant of this class with the specified name.static VecPrimaryPartType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANTENNA
-
BATTERY
-
BOLT_MOUNTED_FIXING
-
CABLE_DUCT
-
CABLE_TIE
-
CAVITY_ACCESSORY
-
CAVITY_PLUG
-
CAVITY_SEAL
-
CONNECTOR_HOUSING
-
CONNECTOR_HOUSING_CAP
-
CORRUGATED_PIPE
-
EDGE_MOUNTED_FIXING
-
EE_COMPONENT
-
FITTING
-
FIXING
-
FUSE
-
GROMMET
-
HOLE_MOUNTED_FIXING
-
MULTI_CAVITY_PLUG
-
MULTI_CAVITY_SEAL
-
MULTI_FUSE
-
OTHER
-
PART_STRUCTURE
-
PLUGGABLE_TERMINAL
-
POTENTIAL_DISTRIBUTOR
-
RELAY
-
RING_TERMINAL
-
SHRINKABLE_TUBE
-
SPLICE_TERMINAL
-
STRIPE
-
TAPE
-
TERMINAL
-
TUBE
-
WIRE
-
WIRE_END_ACCESSORY
-
WIRE_PROTECTION
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
-
fromValue
-