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.StringfilePrefixThe file prefix to use if using fileshare mode, not stream mode.LocationinventoryLocationThe location to pull inventory from (not required)java.lang.StringipAddressThe IP address/hostname of the bulk platformjava.lang.Stringname*Primary Key* The unique name of the bulk platformintportThe port to connect to via TCP/IPjava.lang.StringunitThe 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.StringgetFilePrefix()LocationgetInventoryLocation()java.lang.StringgetIpAddress()java.lang.StringgetName()intgetPort()java.lang.StringgetUnit()voidsetFilePrefix(java.lang.String filePrefix)voidsetInventoryLocation(Location inventoryLocation)voidsetIpAddress(java.lang.String ipAddress)voidsetName(java.lang.String name)voidsetPort(int port)voidsetUnit(java.lang.String unit)java.lang.StringtoString()-
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:
toStringin classjava.lang.Object
-
getInventoryLocation
public Location getInventoryLocation()
-
setInventoryLocation
public void setInventoryLocation(Location inventoryLocation)
-
-