public class DefaultFeatureStoreElement2 extends AbstractElement implements Element.SimpleElement, Element.GroupElement, FeatureStoreElement
Element.CalculatedElement, Element.ConstantElement, Element.FunctionElement, Element.GroupElement, Element.SimpleElementicon, LOGGER| Constructor and Description |
|---|
DefaultFeatureStoreElement2(FeatureStore store) |
DefaultFeatureStoreElement2(FeatureStore store,
java.lang.String name) |
DefaultFeatureStoreElement2(FeatureStore store,
java.lang.String name,
boolean useHostVariable) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(Element element) |
void |
addElement(Function function) |
java.lang.Object |
clone()
Creates a copy of the object.
|
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
Element |
get(int index) |
java.util.List<Element> |
getElements() |
FeatureStore |
getFeatureStore() |
java.lang.String |
getLabel() |
java.lang.String |
getRenderedValue() |
boolean |
getUseFullyQualifiedNames() |
java.util.Collection<Element> |
getValues() |
java.util.Iterator<Element> |
iterator() |
void |
reload() |
Element |
setConfig(ExpressionBuilderConfig config) |
void |
setFeatureStore(FeatureStore store) |
void |
setName(java.lang.String name) |
void |
setUseFullyQualifiedNames(boolean useFullyQualifiedNames) |
int |
size() |
cloneElement, compareTo, getAditionalPanel, getConfig, getDescription, getIcon, getIconName, getName, getValue, hasMoreValues, isEnabled, toString, usedequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcloneElement, getAditionalPanel, getConfig, getDescription, getIcon, getIconName, getName, hasMoreValues, isEnabled, usedgetValue, label, toStringcloneQuietly, cloneQuietlypublic DefaultFeatureStoreElement2(FeatureStore store, java.lang.String name, boolean useHostVariable)
public DefaultFeatureStoreElement2(FeatureStore store, java.lang.String name)
public DefaultFeatureStoreElement2(FeatureStore store)
public Element get(int index)
get in interface Element.GroupElementpublic int size()
size in interface Element.GroupElementpublic java.util.Iterator<Element> iterator()
iterator in interface java.lang.Iterable<Element>iterator in interface Element.GroupElementpublic void addElement(Element element)
addElement in interface Element.GroupElementpublic void addElement(Function function)
addElement in interface Element.GroupElementpublic java.util.Collection<Element> getValues()
getValues in interface ElementgetValues in class AbstractElementpublic java.util.List<Element> getElements()
getElements in interface Element.GroupElementpublic java.lang.String getLabel()
getLabel in interface LabeledValuegetLabel in class AbstractElementpublic java.lang.String getRenderedValue()
getRenderedValue in interface ElementgetRenderedValue in class AbstractElementpublic void setName(java.lang.String name)
setName in interface FeatureStoreElementsetName in class AbstractElementpublic FeatureStore getFeatureStore()
getFeatureStore in interface FeatureStoreElementpublic final void setFeatureStore(FeatureStore store)
setFeatureStore in interface FeatureStoreElementpublic Element setConfig(ExpressionBuilderConfig config)
setConfig in interface ElementsetConfig in class AbstractElementpublic void reload()
reload in interface Elementreload in class AbstractElementpublic void setUseFullyQualifiedNames(boolean useFullyQualifiedNames)
setUseFullyQualifiedNames in interface FeatureStoreElementpublic boolean getUseFullyQualifiedNames()
getUseFullyQualifiedNames in interface FeatureStoreElementpublic void dispose()
DisposableNOTE:After calling this method, the object may not be usable anymore.
dispose in interface Disposabledispose in class AbstractElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class AbstractElementjava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.