Modifier and Type | Class and Description |
---|---|
static class |
NSFFormField.DisplayType
This enum represents the various display types of form fields, which are more specific than
the underlying
ValueType . |
Constructor and Description |
---|
NSFFormField(NSFForm parent,
Collection<CDFieldStruct> structs)
Constructs an
NSFFormField using the provided collection of field-related structs. |
Modifier and Type | Method and Description |
---|---|
protected void |
doFree()
This method is called when the final reference to this object is freed.
|
NSFFormula |
getDefaultValueFormula() |
String |
getDescription() |
NSFFormField.DisplayType |
getDisplayType() |
Set<FieldFlag> |
getFlags() |
String |
getHintText() |
NSFFormula |
getInputTranslationFormula() |
NSFFormula |
getInputValidationFormula() |
Set<LDELIM> |
getListDelim() |
LDDELIM |
getListDisplayDelim() |
String |
getName() |
NSFForm |
getParent() |
ValueType |
getType() |
String[] |
getValues() |
NSFFormula |
getValuesFormula() |
boolean |
isAllowMultiple() |
boolean |
isAllowUserKeywords() |
boolean |
isReferenceOnly()
Determines whether the field is a shared-field reference only, without
locally-stored field information.
|
boolean |
isRefValid()
Checks whether the object's inner reference is valid.
|
_checkRefValidity, addChild, addChildStruct, debugPrintChildHierarchy, finalize, free, free, free, getAPI, getChildObjectCount, getChildObjectCount, getChildStructCount, isFreed, isTraceCreation, removeChild, removeChildStruct, removeFromParent, retain, setNeedsFree, setTraceCreation, toString
public NSFFormField(NSFForm parent, Collection<CDFieldStruct> structs)
NSFFormField
using the provided collection of field-related structs.
The collection must contain at least a CDFIELD
object.parent
- the NSFForm
that contains the fieldstructs
- a Collection
of CDFieldStruct
objects representing the field on the formIllegalArgumentException
- if structs
does not contain a CDFIELD
public String getName()
public ValueType getType()
public LDDELIM getListDisplayDelim()
public NSFFormula getDefaultValueFormula() throws DominoException
DominoException
public String getDescription()
public NSFFormula getInputTranslationFormula() throws DominoException
DominoException
public NSFFormula getInputValidationFormula() throws DominoException
DominoException
public NSFFormula getValuesFormula() throws DominoException
DominoException
public String getHintText()
public NSFFormField.DisplayType getDisplayType()
public boolean isAllowMultiple()
public boolean isAllowUserKeywords()
public String[] getValues()
public boolean isReferenceOnly()
true
if the field is only a reference; false
otherwiseprotected void doFree()
NSFBase
Implemented classes are expected to release any memory or network resources they have open. They are also expected to write this defensively, allowing the method to be called multiple times on the same object without problem.
public boolean isRefValid()
NSFBase
isRefValid
in class NSFBase
Copyright © 2014–2018. All rights reserved.