atg.commerce.order
Class RepositoryRange

java.lang.Object
  extended by atg.core.util.Range
      extended by atg.commerce.order.RepositoryRange
All Implemented Interfaces:
java.io.Serializable

public class RepositoryRange
extends atg.core.util.Range
implements java.io.Serializable

A subclass of range that is stored within the repository item

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected static java.lang.String HIGH_BOUND_PROPERTY
           
protected static java.lang.String LOW_BOUND_PROPERTY
           
protected  MutableRepositoryItem mRepositoryItem
           
 
Fields inherited from class atg.core.util.Range
RANGE_COMPARATOR
 
Constructor Summary
RepositoryRange(MutableRepositoryItem pShipItemRel)
           
RepositoryRange(MutableRepositoryItem pRepositoryItem, long pLowBound, long pHighBound)
           
 
Method Summary
 long getHighBound()
          the high end of the range
 long getLowBound()
          the low end of the range
protected  java.lang.Object getPropertyValue(java.lang.String pChangedProperty)
           
 void setHighBound(long pHighBound)
          the high end of the range
 void setLowBound(long pLowBound)
          the low end of the range
protected  void setPropertyValue(java.lang.String pChangedProperty, java.lang.Object pPropertyValue)
           
 
Methods inherited from class atg.core.util.Range
findComplementRanges, getSize, intersection, main, toString, union
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values

LOW_BOUND_PROPERTY

protected static java.lang.String LOW_BOUND_PROPERTY

HIGH_BOUND_PROPERTY

protected static java.lang.String HIGH_BOUND_PROPERTY

mRepositoryItem

protected MutableRepositoryItem mRepositoryItem
Constructor Detail

RepositoryRange

public RepositoryRange(MutableRepositoryItem pShipItemRel)

RepositoryRange

public RepositoryRange(MutableRepositoryItem pRepositoryItem,
                       long pLowBound,
                       long pHighBound)
Method Detail

getPropertyValue

protected java.lang.Object getPropertyValue(java.lang.String pChangedProperty)

setPropertyValue

protected void setPropertyValue(java.lang.String pChangedProperty,
                                java.lang.Object pPropertyValue)

setLowBound

public void setLowBound(long pLowBound)
the low end of the range

Overrides:
setLowBound in class atg.core.util.Range
Parameters:
pLowBound - new value to set

getLowBound

public long getLowBound()
the low end of the range

Overrides:
getLowBound in class atg.core.util.Range
Returns:
property LowBound (-1 if the property is null)

setHighBound

public void setHighBound(long pHighBound)
the high end of the range

Overrides:
setHighBound in class atg.core.util.Range
Parameters:
pHighBound - new value to set

getHighBound

public long getHighBound()
the high end of the range

Overrides:
getHighBound in class atg.core.util.Range
Returns:
property HighBound