com.rapidtransform.product.model
Enum ProductStructureRelation.RelationType

java.lang.Object
  extended by java.lang.Enum<ProductStructureRelation.RelationType>
      extended by com.rapidtransform.product.model.ProductStructureRelation.RelationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProductStructureRelation.RelationType>
Enclosing class:
ProductStructureRelation

public static enum ProductStructureRelation.RelationType
extends java.lang.Enum<ProductStructureRelation.RelationType>


Enum Constant Summary
DECOMPOSITION
          The related ProductConstituent is one or possibly many components of the relating Product
FUNCTIONALITY
          The related ProductConstituent is part of the functional structure.
OCCURRENCE
          The product constituent is an occurence of the complex product.
REALIZATION
          The product constituent fulfills some or all the requirements for the complex product, and the constituent and complex products are of different types.
SPECIALIZATION
          The product constituent fulfills the requirements for the complex product and they are of the same type.
 
Method Summary
static ProductStructureRelation.RelationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProductStructureRelation.RelationType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DECOMPOSITION

public static final ProductStructureRelation.RelationType DECOMPOSITION
The related ProductConstituent is one or possibly many components of the relating Product


FUNCTIONALITY

public static final ProductStructureRelation.RelationType FUNCTIONALITY
The related ProductConstituent is part of the functional structure. The relating complex product must be of type AlternateSolution or ProductComponent and the ProductConstituent must be a ProductFunction.


OCCURRENCE

public static final ProductStructureRelation.RelationType OCCURRENCE
The product constituent is an occurence of the complex product.


REALIZATION

public static final ProductStructureRelation.RelationType REALIZATION
The product constituent fulfills some or all the requirements for the complex product, and the constituent and complex products are of different types.


SPECIALIZATION

public static final ProductStructureRelation.RelationType SPECIALIZATION
The product constituent fulfills the requirements for the complex product and they are of the same type.

Method Detail

values

public static final ProductStructureRelation.RelationType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ProductStructureRelation.RelationType c : ProductStructureRelation.RelationType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ProductStructureRelation.RelationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name