models
Class EisData

java.lang.Object
  extended by models.EisData

public class EisData
extends java.lang.Object

full information about eis object


Constructor Summary
EisData()
           
 
Method Summary
 byte[] getFile()
           
 java.lang.String getFileName()
           
 java.lang.Boolean getObjectAsUrl()
           
 java.io.InputStream getStream()
           
 java.lang.String getUrl()
           
 void setFile(byte[] file)
          set file data
 void setFileName(java.lang.String fileName)
          set file name
 void setObjectAsUrl(java.lang.Boolean objectAsUrl)
          set is object located on a server
 void setUrl(java.lang.String url)
          url to object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EisData

public EisData()
Method Detail

getFile

public byte[] getFile()
Returns:
byte array of file data

setFile

public void setFile(byte[] file)
set file data

Parameters:
file - byte array

getUrl

public java.lang.String getUrl()
Returns:
url to object or empty string

setUrl

public void setUrl(java.lang.String url)
url to object

Parameters:
url - url string

getObjectAsUrl

public java.lang.Boolean getObjectAsUrl()
Returns:
if object located on a server return true otherwise return false

setObjectAsUrl

public void setObjectAsUrl(java.lang.Boolean objectAsUrl)
set is object located on a server

Parameters:
objectAsUrl - boolean value

getStream

public java.io.InputStream getStream()
Returns:
input stream of file byte array

getFileName

public java.lang.String getFileName()
Returns:
file name

setFileName

public void setFileName(java.lang.String fileName)
set file name

Parameters:
fileName - file name string