net.sourceforge.combean.mathprog.lp.model
Class LPModelIndexImpl

Package class diagram package LPModelIndexImpl
java.lang.Object
  extended by net.sourceforge.combean.mathprog.lp.model.LPModelIndexImpl
All Implemented Interfaces:
LPModelIndex

public class LPModelIndexImpl
extends Object
implements LPModelIndex

A straight-forward implementation of an LP model index.


Constructor Summary
LPModelIndexImpl()
          constructor
LPModelIndexImpl(int localIndex, String offsetId)
          constructor
 
Method Summary
 int getLocalIndex()
          Get the local index.
 String getOffsetId()
          Get the offset identifier.
 void setLocalIndex(int localIndex)
           
 void setOffsetId(String offsetId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LPModelIndexImpl

public LPModelIndexImpl()
constructor


LPModelIndexImpl

public LPModelIndexImpl(int localIndex,
                        String offsetId)
constructor

Parameters:
localIndex -
offsetId -
orientation -
Method Detail

setLocalIndex

public void setLocalIndex(int localIndex)

getLocalIndex

public int getLocalIndex()
Description copied from interface: LPModelIndex
Get the local index.

Specified by:
getLocalIndex in interface LPModelIndex
Returns:
the local index.

setOffsetId

public void setOffsetId(String offsetId)

getOffsetId

public String getOffsetId()
Description copied from interface: LPModelIndex
Get the offset identifier.

Specified by:
getOffsetId in interface LPModelIndex
Returns:
the offset identifier.