public final class DefaultExportAttributes extends java.lang.Object implements ExportAttributes
ExportAttributes.ExportAttribute
EMPTY_UNMODIFIABLEBASICLIST
EMPTY_GETITEMWITHSIZEANDITERATOR
Constructor and Description |
---|
DefaultExportAttributes() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty, isEmpty, isEmptyQuietly
public void fillExportAttributes(FeatureType ftype, FeatureQuery query)
protected boolean attributeAsComputedAndGroupBy(FeatureQuery query, java.lang.String attr)
protected boolean isShowableDataType(DataType dataType)
public void setNamesTranslator(NamesTranslator namesTranslator)
setNamesTranslator
in interface ExportAttributes
public NamesTranslator getNamesTranslator()
getNamesTranslator
in interface ExportAttributes
public java.util.List<ExportAttributes.ExportAttribute> toList()
toList
in interface UnmodifiableBasicList<ExportAttributes.ExportAttribute>
public java.util.Iterator<ExportAttributes.ExportAttribute> iterator()
iterator
in interface java.lang.Iterable<ExportAttributes.ExportAttribute>
public ExportAttributes.ExportAttribute get(int position)
get
in interface GetItem<ExportAttributes.ExportAttribute>
public ExportAttributes.ExportAttribute getExportAttribute(java.lang.String name)
getExportAttribute
in interface ExportAttributes
public FeatureType getTargetFeatureType()
getTargetFeatureType
in interface ExportAttributes
public void setSourceFeatureType(FeatureType sourceFeatureType, FeatureQuery query)
setSourceFeatureType
in interface ExportAttributes
public boolean isQueryAttribute(FeatureAttributeDescriptor attr)
isQueryAttribute
in interface ExportAttributes
public FeatureType getSourceFeatureType()
getSourceFeatureType
in interface ExportAttributes
public java.lang.String getTargetName(java.lang.String name)
getTargetName
in interface ExportAttributes
public java.lang.String getSourceName(java.lang.String name)
getSourceName
in interface ExportAttributes
public int getTargetType(java.lang.String name)
getTargetType
in interface ExportAttributes
public int getSourceType(java.lang.String name)
getSourceType
in interface ExportAttributes
public ExportAttributes clone() throws java.lang.CloneNotSupportedException
clone
in interface ExportAttributes
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void setExportAttributes(java.util.List<ExportAttributes.ExportAttribute> exportAttributes)
setExportAttributes
in interface ExportAttributes
public void setActive(boolean active)
setActive
in interface ExportAttributes
public boolean isActive()
isActive
in interface ExportAttributes
public static void registerPersistence()
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException