atg.commerce.order
Class RelationshipTypes

java.lang.Object
  extended by atg.commerce.order.RelationshipTypes
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
B2BRelationshipTypes

public class RelationshipTypes
extends java.lang.Object
implements java.io.Serializable

This class contains the Relationship type constants for all the different types of relationships. Assigning different values to all the relationship types is a requirement because we need to be sure that we don't mistakingly assign an invalid type to a given Relationship object.

See Also:
Serialized Form

Field Summary
static int CCAMOUNT
           
static java.lang.String CCAMOUNT_STR
           
static int CCAMOUNTREMAINING
           
static java.lang.String CCAMOUNTREMAINING_STR
           
static int CCORDERAMOUNT
           
static java.lang.String CCORDERAMOUNT_STR
           
static int CCORDERAMOUNTREMAINING
           
static java.lang.String CCORDERAMOUNTREMAINING_STR
           
static int CCQUANTITY
           
static java.lang.String CCQUANTITY_STR
           
static int CCQUANTITYREMAINING
           
static java.lang.String CCQUANTITYREMAINING_STR
           
static int CCSHIPPINGAMOUNT
           
static java.lang.String CCSHIPPINGAMOUNT_STR
           
static int CCSHIPPINGAMOUNTREMAINING
           
static java.lang.String CCSHIPPINGAMOUNTREMAINING_STR
           
static int CCTAXAMOUNT
           
static java.lang.String CCTAXAMOUNT_STR
           
static int CCTAXAMOUNTREMAINING
           
static java.lang.String CCTAXAMOUNTREMAINING_STR
           
static java.lang.String CLASS_VERSION
          Class version string
static int ORDERAMOUNT
           
static java.lang.String ORDERAMOUNT_STR
           
static int ORDERAMOUNTREMAINING
           
static java.lang.String ORDERAMOUNTREMAINING_STR
           
static int PAYMENTAMOUNT
           
static java.lang.String PAYMENTAMOUNT_STR
           
static int PAYMENTAMOUNTREMAINING
           
static java.lang.String PAYMENTAMOUNTREMAINING_STR
           
static int SHIPPINGAMOUNT
           
static java.lang.String SHIPPINGAMOUNT_STR
           
static int SHIPPINGAMOUNTREMAINING
           
static java.lang.String SHIPPINGAMOUNTREMAINING_STR
           
static int SHIPPINGQUANTITY
           
static java.lang.String SHIPPINGQUANTITY_STR
           
static int SHIPPINGQUANTITYREMAINING
           
static java.lang.String SHIPPINGQUANTITYREMAINING_STR
           
static int TAXAMOUNT
           
static java.lang.String TAXAMOUNT_STR
           
static int TAXAMOUNTREMAINING
           
static java.lang.String TAXAMOUNTREMAINING_STR
           
 
Constructor Summary
RelationshipTypes()
           
 
Method Summary
static int stringToType(java.lang.String pType)
          Given a RelationshipType String, this method will return the corresponding integer for that type
static java.lang.String typeToString(int pType)
          Given a RelationshipType state, this method will return a textual String name for that type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


SHIPPINGQUANTITY

public static final int SHIPPINGQUANTITY
See Also:
Constant Field Values

SHIPPINGQUANTITYREMAINING

public static final int SHIPPINGQUANTITYREMAINING
See Also:
Constant Field Values

PAYMENTAMOUNT

public static final int PAYMENTAMOUNT
See Also:
Constant Field Values

PAYMENTAMOUNTREMAINING

public static final int PAYMENTAMOUNTREMAINING
See Also:
Constant Field Values

SHIPPINGAMOUNT

public static final int SHIPPINGAMOUNT
See Also:
Constant Field Values

SHIPPINGAMOUNTREMAINING

public static final int SHIPPINGAMOUNTREMAINING
See Also:
Constant Field Values

ORDERAMOUNT

public static final int ORDERAMOUNT
See Also:
Constant Field Values

TAXAMOUNT

public static final int TAXAMOUNT
See Also:
Constant Field Values

ORDERAMOUNTREMAINING

public static final int ORDERAMOUNTREMAINING
See Also:
Constant Field Values

TAXAMOUNTREMAINING

public static final int TAXAMOUNTREMAINING
See Also:
Constant Field Values

CCQUANTITY

public static final int CCQUANTITY
See Also:
Constant Field Values

CCQUANTITYREMAINING

public static final int CCQUANTITYREMAINING
See Also:
Constant Field Values

CCAMOUNT

public static final int CCAMOUNT
See Also:
Constant Field Values

CCAMOUNTREMAINING

public static final int CCAMOUNTREMAINING
See Also:
Constant Field Values

CCSHIPPINGAMOUNT

public static final int CCSHIPPINGAMOUNT
See Also:
Constant Field Values

CCSHIPPINGAMOUNTREMAINING

public static final int CCSHIPPINGAMOUNTREMAINING
See Also:
Constant Field Values

CCORDERAMOUNT

public static final int CCORDERAMOUNT
See Also:
Constant Field Values

CCORDERAMOUNTREMAINING

public static final int CCORDERAMOUNTREMAINING
See Also:
Constant Field Values

CCTAXAMOUNT

public static final int CCTAXAMOUNT
See Also:
Constant Field Values

CCTAXAMOUNTREMAINING

public static final int CCTAXAMOUNTREMAINING
See Also:
Constant Field Values

SHIPPINGQUANTITY_STR

public static final java.lang.String SHIPPINGQUANTITY_STR
See Also:
Constant Field Values

SHIPPINGQUANTITYREMAINING_STR

public static final java.lang.String SHIPPINGQUANTITYREMAINING_STR
See Also:
Constant Field Values

PAYMENTAMOUNT_STR

public static final java.lang.String PAYMENTAMOUNT_STR
See Also:
Constant Field Values

PAYMENTAMOUNTREMAINING_STR

public static final java.lang.String PAYMENTAMOUNTREMAINING_STR
See Also:
Constant Field Values

SHIPPINGAMOUNT_STR

public static final java.lang.String SHIPPINGAMOUNT_STR
See Also:
Constant Field Values

SHIPPINGAMOUNTREMAINING_STR

public static final java.lang.String SHIPPINGAMOUNTREMAINING_STR
See Also:
Constant Field Values

ORDERAMOUNT_STR

public static final java.lang.String ORDERAMOUNT_STR
See Also:
Constant Field Values

TAXAMOUNT_STR

public static final java.lang.String TAXAMOUNT_STR
See Also:
Constant Field Values

ORDERAMOUNTREMAINING_STR

public static final java.lang.String ORDERAMOUNTREMAINING_STR
See Also:
Constant Field Values

TAXAMOUNTREMAINING_STR

public static final java.lang.String TAXAMOUNTREMAINING_STR
See Also:
Constant Field Values

CCQUANTITY_STR

public static final java.lang.String CCQUANTITY_STR
See Also:
Constant Field Values

CCQUANTITYREMAINING_STR

public static final java.lang.String CCQUANTITYREMAINING_STR
See Also:
Constant Field Values

CCAMOUNT_STR

public static final java.lang.String CCAMOUNT_STR
See Also:
Constant Field Values

CCAMOUNTREMAINING_STR

public static final java.lang.String CCAMOUNTREMAINING_STR
See Also:
Constant Field Values

CCSHIPPINGAMOUNT_STR

public static final java.lang.String CCSHIPPINGAMOUNT_STR
See Also:
Constant Field Values

CCSHIPPINGAMOUNTREMAINING_STR

public static final java.lang.String CCSHIPPINGAMOUNTREMAINING_STR
See Also:
Constant Field Values

CCORDERAMOUNT_STR

public static final java.lang.String CCORDERAMOUNT_STR
See Also:
Constant Field Values

CCORDERAMOUNTREMAINING_STR

public static final java.lang.String CCORDERAMOUNTREMAINING_STR
See Also:
Constant Field Values

CCTAXAMOUNT_STR

public static final java.lang.String CCTAXAMOUNT_STR
See Also:
Constant Field Values

CCTAXAMOUNTREMAINING_STR

public static final java.lang.String CCTAXAMOUNTREMAINING_STR
See Also:
Constant Field Values
Constructor Detail

RelationshipTypes

public RelationshipTypes()
Method Detail

typeToString

public static java.lang.String typeToString(int pType)
Given a RelationshipType state, this method will return a textual String name for that type.

Parameters:
pType - the relationship type to convert to a String
Returns:
a String representation of the type

stringToType

public static int stringToType(java.lang.String pType)
Given a RelationshipType String, this method will return the corresponding integer for that type

Parameters:
pType - the String to convert to a type
Returns:
the type which the String represents