Class AbstractPosition
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.sdh.api.AbstractPosition
-
- Direct Known Subclasses:
AvailableContainerLinkPosition
,AvailableTransportLinkPosition
public abstract class AbstractPosition extends Object
Simple root class for all types of SDH positions. Subclasses will simply overwrite the method toString- Author:
- Orlando Paz <orlando.paz@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description protected BusinessObjectLight
container
protected int
position
-
Constructor Summary
Constructors Constructor Description AbstractPosition(int position, BusinessObjectLight container)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BusinessObjectLight
getContainer()
int
getPosition()
void
setContainer(BusinessObjectLight container)
void
setPosition(int position)
abstract String
toString()
-
-
-
Field Detail
-
position
protected int position
-
container
protected BusinessObjectLight container
-
-
Constructor Detail
-
AbstractPosition
public AbstractPosition(int position, BusinessObjectLight container)
-
-
Method Detail
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int position)
-
getContainer
public BusinessObjectLight getContainer()
-
setContainer
public void setContainer(BusinessObjectLight container)
-
-