public class ExtendedField extends Object implements Serializable
Constructor and Description |
---|
ExtendedField(Long aExtendedFieldID,
Long aExtendedFieldTypeID,
String aName,
String aFormattingPattern,
int aDatatype,
boolean aMandatory,
int aSequenceNr,
String aDefaultValue,
String aOptions,
int aMaxlen)
Constructor for ExtendedField, that requires all data.
|
ExtendedField(String aExtendedFieldTypeID)
Constructor for the extendedfield with only one value - the id.
|
Modifier and Type | Method and Description |
---|---|
int |
getDatatype() |
String |
getDefaultValue() |
Long |
getExtendedFieldID() |
Long |
getExtendedFieldTypeID() |
String |
getFormattingPattern() |
String |
getJspFieldname() |
int |
getMaxlen() |
String |
getName() |
String |
getOptions() |
Map<String,String> |
getOptionValues() |
int |
getSequencenr() |
boolean |
isMandatory() |
void |
setDatatype(int datatype)
Set the datatype of this extendedField.
|
void |
setDefaultValue(String defaultValue)
Set the defaultvalue of this extendedField.
|
void |
setExtendedFieldID(Long extendedFieldID)
Set the ID of the extendedField..
|
void |
setExtendedFieldTypeID(Long extendedFieldTypeID)
Set the name of the extendedFieldTypeID.
|
void |
setFormattingPattern(String aFormattingPattern)
Set a formatting pattern for this extendefield.
|
void |
setMandatory(boolean mandatory)
Set the mandatory-state of this extendedField.
|
void |
setMaxlen(int aMaxlen)
Set the maxlen of this extendedField.
|
void |
setName(String name)
Set the name of the extendedField.
|
void |
setOptions(String options)
Set the options of the extendedField.
|
void |
setSequencenr(int sequencenr)
Set the sequencenr of this extendedField.
|
String |
toString() |
public ExtendedField(String aExtendedFieldTypeID)
aExtendedFieldTypeID
- the Id of the extendededfieldtypepublic ExtendedField(Long aExtendedFieldID, Long aExtendedFieldTypeID, String aName, String aFormattingPattern, int aDatatype, boolean aMandatory, int aSequenceNr, String aDefaultValue, String aOptions, int aMaxlen)
aExtendedFieldID
- The extendedfieldId of the extendedfieldaExtendedFieldTypeID
- The extendedfieldtypeId of the extendedfieldaName
- The name of the extendedfieldaFormattingPattern
- The name of the extendedfieldaDatatype
- The datatype of the extendedfieldaMandatory
- The mandatory state of the extendedfieldaSequenceNr
- The sequencenr of the extendedfieldaDefaultValue
- The default value of the extendedfieldaOptions
- The options of the extendedfieldaMaxlen
- The maxlen of the extendedfieldpublic Long getExtendedFieldID()
public void setExtendedFieldID(Long extendedFieldID)
extendedFieldID
- the ID of the extendedField..public Long getExtendedFieldTypeID()
public void setExtendedFieldTypeID(Long extendedFieldTypeID)
extendedFieldTypeID
- an extendedfieldtypeIdpublic void setName(String name)
name
- the name of the extendedFieldpublic String getFormattingPattern()
public void setFormattingPattern(String aFormattingPattern)
aFormattingPattern
- a formatting pattern for this extendedfieldpublic int getDatatype()
public void setDatatype(int datatype)
datatype
- a datatype for this extendedfieldpublic boolean isMandatory()
public void setMandatory(boolean mandatory)
mandatory
- A mandatory-state of this extendedFieldpublic int getSequencenr()
public void setSequencenr(int sequencenr)
sequencenr
- a new sequencenr of this extendedField.public String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue
- the defaultvalue of this extendedField.public String getOptions()
public int getMaxlen()
public void setMaxlen(int aMaxlen)
aMaxlen
- for this extendedfieldpublic void setOptions(String options)
options
- the options of the extendedFieldpublic Map<String,String> getOptionValues()
public String getJspFieldname()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.