public class MachineForm
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_LOCATION |
static int |
TYPE_MACHINE |
static int |
TYPE_MACHINETYPE |
Constructor and Description |
---|
MachineForm() |
Modifier and Type | Method and Description |
---|---|
int |
getFormType() |
java.lang.String |
getLinkNext() |
java.lang.String |
getLinkPrev() |
Location |
getLocation()
Get the current editting Location
|
java.util.List<Location> |
getLocations() |
Machine |
getMachine() |
MachineType |
getMachineType() |
java.util.List<MachineType> |
getMtypes() |
UserWebSession |
getUserWebSession() |
void |
setFormType(int formType) |
void |
setLinkNext(java.lang.String linkNext) |
void |
setLinkPrev(java.lang.String linkPrev) |
void |
setLocation(Location location)
Set the current Location being edited
|
void |
setLocations(java.util.List<Location> locations) |
void |
setMachine(Machine machine) |
void |
setMachineType(MachineType machineType) |
void |
setMtypes(java.util.List<MachineType> types) |
void |
setUserWebSession(UserWebSession us) |
public static final int TYPE_MACHINE
public static final int TYPE_MACHINETYPE
public static final int TYPE_LOCATION
public UserWebSession getUserWebSession()
public void setUserWebSession(UserWebSession us)
public Machine getMachine()
public void setMachine(Machine machine)
machine
- The machine to set.public Location getLocation()
public void setLocation(Location location)
location
- The location to set.public MachineType getMachineType()
public void setMachineType(MachineType machineType)
machineType
- The machineType to set.public java.util.List<Location> getLocations()
public void setLocations(java.util.List<Location> locations)
public java.util.List<MachineType> getMtypes()
public void setMtypes(java.util.List<MachineType> types)
public int getFormType()
public void setFormType(int formType)
formType
- The formType to set.public java.lang.String getLinkNext()
public void setLinkNext(java.lang.String linkNext)
linkNext
- The linkNext to set.public java.lang.String getLinkPrev()
public void setLinkPrev(java.lang.String linkPrev)
linkPrev
- The linkPrev to set.