public class RecordField extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_GEOLOCATION |
Constructor and Description |
---|
RecordField() |
Modifier and Type | Method and Description |
---|---|
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
EntryTypeDownloadUrl |
String |
getFileName()
The file name if the response value is a file This attribute is used for EntryTypeDownloadURL
EntryTypeDownloadUrl |
int |
getIdRecordField() |
Record |
getRecord() |
String |
getValue() |
boolean |
isBigThumbnail()
Check if this record field represents a big thumbnail
|
boolean |
isLittleThumbnail()
Check if this record field represents a little thumbnail
|
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
EntryTypeDownloadUrl |
void |
setFileName(String fileName)
The file name if the response value is a file This attribute is used for EntryTypeDownloadURL
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()
Converts this record field into a string
|
public static final String ATTRIBUTE_GEOLOCATION
public Record getRecord()
public void setRecord(Record record)
record
- the recordpublic IEntry getEntry()
public void setEntry(IEntry entry)
entry
- the entry associate to the fieldpublic int getIdRecordField()
public void setIdRecordField(int idRecordField)
idRecordField
- the id of the record fieldpublic String getValue()
public void setValue(String valueRecordField)
valueRecordField
- the value of the record fieldpublic Field getField()
public void setField(Field field)
field
- fieldpublic File getFile()
public void setFile(File file)
file
- the filepublic boolean isLittleThumbnail()
public boolean isBigThumbnail()
public String toString()
public String getFileExtension()
EntryTypeDownloadUrl
public void setFileExtension(String fileExtension)
EntryTypeDownloadUrl
fileExtension
- the file extension if the response value is a filepublic String getFileName()
EntryTypeDownloadUrl
public void setFileName(String fileName)
EntryTypeDownloadUrl
fileName
- the file name if the response value is a fileCopyright © 2020 City of Paris. All rights reserved.