Package com.sgs.common.database
Class BulkPlatform
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.BulkPlatform
-
public class BulkPlatform extends HibernateObject
This class represents Bulk Platforms which interact with the SG System- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
filePrefix
The file prefix to use if using fileshare mode, not stream mode.Location
inventoryLocation
The location to pull inventory from (not required)java.lang.String
ipAddress
The IP address/hostname of the bulk platformjava.lang.String
name
*Primary Key* The unique name of the bulk platformint
port
The port to connect to via TCP/IPjava.lang.String
unit
The unit that requests will be made in (not required)-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description BulkPlatform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFilePrefix()
Location
getInventoryLocation()
java.lang.String
getIpAddress()
java.lang.String
getName()
int
getPort()
java.lang.String
getUnit()
void
setFilePrefix(java.lang.String filePrefix)
void
setInventoryLocation(Location inventoryLocation)
void
setIpAddress(java.lang.String ipAddress)
void
setName(java.lang.String name)
void
setPort(int port)
void
setUnit(java.lang.String unit)
java.lang.String
toString()
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
name
public java.lang.String name
*Primary Key* The unique name of the bulk platform
-
ipAddress
public java.lang.String ipAddress
The IP address/hostname of the bulk platform
-
port
public int port
The port to connect to via TCP/IP
-
unit
public java.lang.String unit
The unit that requests will be made in (not required)
-
filePrefix
public java.lang.String filePrefix
The file prefix to use if using fileshare mode, not stream mode.
-
inventoryLocation
public Location inventoryLocation
The location to pull inventory from (not required)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getIpAddress
public java.lang.String getIpAddress()
-
getPort
public int getPort()
-
setName
public void setName(java.lang.String name)
-
setIpAddress
public void setIpAddress(java.lang.String ipAddress)
-
setPort
public void setPort(int port)
-
getUnit
public java.lang.String getUnit()
-
setUnit
public void setUnit(java.lang.String unit)
-
getFilePrefix
public java.lang.String getFilePrefix()
-
setFilePrefix
public void setFilePrefix(java.lang.String filePrefix)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getInventoryLocation
public Location getInventoryLocation()
-
setInventoryLocation
public void setInventoryLocation(Location inventoryLocation)
-
-