fr.paris.lutece.plugins.directory.business
Class RecordField

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.RecordField

public class RecordField
extends Object

class RecordField


Field Summary
static String ATTRIBUTE_GEOLOCATION
           
 
Constructor Summary
RecordField()
           
 
Method Summary
 IEntry getEntry()
           
 Field getField()
          get the field associate to the response
 File getFile()
           
 String getFileExtension()
          Get the file extensions This attribute is used for EntryTypeDownloadURL
 String getFileName()
          The file name if the response value is a file This attribute is used for EntryTypeDownloadURL
 int getIdRecordField()
           
 Record getRecord()
           
 String getValue()
           
 boolean isBigThumbnail()
           
 boolean isLittleThumbnail()
           
 void setEntry(IEntry entry)
          set the entry associate to the field
 void setField(Field field)
          set the field associate to the response
 void setFile(File file)
          set the file associate to the record field
 void setFileExtension(String fileExtension)
          Set the file extension if the response value is a file This attribute is used for EntryTypeDownloadURL
 void setFileName(String fileName)
          The file name if the response value is a file This attribute is used for EntryTypeDownloadURL
 void setIdRecordField(int idRecordField)
          set the id of the record field
 void setRecord(Record record)
          the record associate to the field
 void setValue(String valueRecordField)
          set the value of the record field
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE_GEOLOCATION

public static final String ATTRIBUTE_GEOLOCATION
See Also:
Constant Field Values
Constructor Detail

RecordField

public RecordField()
Method Detail

getRecord

public Record getRecord()
Returns:
the record associate to the field

setRecord

public void setRecord(Record record)
the record associate to the field

Parameters:
record - the record

getEntry

public IEntry getEntry()
Returns:
the entry associate to the field

setEntry

public void setEntry(IEntry entry)
set the entry associate to the field

Parameters:
entry - the entry associate to the field

getIdRecordField

public int getIdRecordField()
Returns:
the id of the response

setIdRecordField

public void setIdRecordField(int idRecordField)
set the id of the record field

Parameters:
idRecordField - the id of the record field

getValue

public String getValue()
Returns:
the value of the record field

setValue

public void setValue(String valueRecordField)
set the value of the record field

Parameters:
valueRecordField - the value of the record field

getField

public Field getField()
get the field associate to the response

Returns:
the field associate to the response

setField

public void setField(Field field)
set the field associate to the response

Parameters:
field - field

getFile

public File getFile()
Returns:
the file associate to the record field

setFile

public void setFile(File file)
set the file associate to the record field

Parameters:
file - the file

isLittleThumbnail

public boolean isLittleThumbnail()

isBigThumbnail

public boolean isBigThumbnail()

toString

public String toString()
Overrides:
toString in class Object
Returns:
the value of the recordField

getFileExtension

public String getFileExtension()
Get the file extensions This attribute is used for EntryTypeDownloadURL

Returns:
the file extension if the response value is a file
See Also:
EntryTypeDownloadUrl}

setFileExtension

public void setFileExtension(String fileExtension)
Set the file extension if the response value is a file This attribute is used for EntryTypeDownloadURL

Parameters:
fileExtension - the file extension if the response value is a file
See Also:
EntryTypeDownloadUrl}

getFileName

public String getFileName()
The file name if the response value is a file This attribute is used for EntryTypeDownloadURL

Returns:
the file name if the response value is a file
See Also:
EntryTypeDownloadUrl}

setFileName

public void setFileName(String fileName)
The file name if the response value is a file This attribute is used for EntryTypeDownloadURL

Parameters:
fileName - the file name if the response value is a file
See Also:
EntryTypeDownloadUrl}


Copyright © 2013 Mairie de Paris. All Rights Reserved.