com.fatwire.assetapi.data
Interface BlobObject

All Known Implementing Classes:
BlobObjectImpl

public interface BlobObject

This interface represents an attribute data of BLOB/URL type.


Nested Class Summary
static interface BlobObject.BlobAddress
          This interface represent the address information of a corresponding BlobObject.
 
Method Summary
 byte[] getBinary()
          retrieves the binary related to this Binary Object
 BlobObject.BlobAddress getBlobAddress()
          Returns the db address for a given blob object.
 java.lang.String getFilename()
          Gets the filename related to this binary object
 java.lang.String getFoldername()
          Gets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored
 

Method Detail

getFilename

java.lang.String getFilename()
Gets the filename related to this binary object

Returns:
String the filename

getFoldername

java.lang.String getFoldername()
Gets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored

Returns:
String folder name

getBinary

byte[] getBinary()
retrieves the binary related to this Binary Object

Returns:
byte[] the binary

getBlobAddress

BlobObject.BlobAddress getBlobAddress()
Returns the db address for a given blob object. For basic asset, it usually points to a row in the primary table of the asset type. For flex asset, it is a row in MungoBlob table

Returns:
the table name, identifier(normally id) and column name of where the blob object is hold in database