LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.util
Class LyPeerFileValue

java.lang.Object
  extended by leon.peer.util.LyPeerFileValue

public class LyPeerFileValue
extends java.lang.Object

This class implements a peer storage info to fetch a FileValue from a provider. Usually, this is a reference to a BLOB entry in a database.


Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyPeerFileValue()
          Constructs a new object.
 
Method Summary
 java.lang.String getLocator()
          Gets the locator of the file.
 java.lang.String getName()
          Gets the peer name of the file.
 void setLocator(java.lang.String locator)
          Sets the locator of the file.
 void setName(java.lang.String name)
          Sets the peer name of the file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyPeerFileValue

public LyPeerFileValue()
Constructs a new object.

Method Detail

getName

public java.lang.String getName()
Gets the peer name of the file.

Returns:
the file name

setName

public void setName(java.lang.String name)
Sets the peer name of the file.

Parameters:
name - the file name

getLocator

public java.lang.String getLocator()
Gets the locator of the file. This is a mean to fetch the file from the data provider

Returns:
the locator (reference to the file or content in the data provider)

setLocator

public void setLocator(java.lang.String locator)
Sets the locator of the file. This is a mean to fetch the file from the data provider


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com