public class DefaultExportAttribute extends java.lang.Object implements ExportAttributes.ExportAttribute
| Constructor and Description |
|---|
DefaultExportAttribute() |
DefaultExportAttribute(FeatureAttributeDescriptor fad,
NamesTranslator namesTranslator,
boolean fromQuery) |
| Modifier and Type | Method and Description |
|---|---|
ExportAttributes.ExportAttribute |
clone() |
int |
getDataType() |
FeatureAttributeDescriptor |
getDescriptor() |
java.lang.String |
getName() |
int |
getNewDataType() |
java.lang.String |
getNewName() |
int |
getSize() |
boolean |
isComputed() |
boolean |
isExported() |
boolean |
isFromQuery() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistence() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setComputed(boolean computed) |
void |
setExported(boolean exported) |
int |
setNewName(java.lang.String newName) |
void |
setNewType(int dataType) |
void |
setSize(int size) |
public DefaultExportAttribute(FeatureAttributeDescriptor fad, NamesTranslator namesTranslator, boolean fromQuery)
public DefaultExportAttribute()
public FeatureAttributeDescriptor getDescriptor()
getDescriptor in interface ExportAttributes.ExportAttributepublic java.lang.String getName()
getName in interface ExportAttributes.ExportAttributepublic int getDataType()
getDataType in interface ExportAttributes.ExportAttributepublic java.lang.String getNewName()
getNewName in interface ExportAttributes.ExportAttributepublic int getNewDataType()
getNewDataType in interface ExportAttributes.ExportAttributepublic boolean isExported()
isExported in interface ExportAttributes.ExportAttributepublic boolean isComputed()
isComputed in interface ExportAttributes.ExportAttributepublic int setNewName(java.lang.String newName)
setNewName in interface ExportAttributes.ExportAttributepublic void setExported(boolean exported)
setExported in interface ExportAttributes.ExportAttributepublic void setComputed(boolean computed)
setComputed in interface ExportAttributes.ExportAttributepublic void setNewType(int dataType)
setNewType in interface ExportAttributes.ExportAttributepublic int getSize()
getSize in interface ExportAttributes.ExportAttributepublic void setSize(int size)
setSize in interface ExportAttributes.ExportAttributepublic ExportAttributes.ExportAttribute clone() throws java.lang.CloneNotSupportedException
clone in interface ExportAttributes.ExportAttributeclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic static void registerPersistence()
public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic boolean isFromQuery()
isFromQuery in interface ExportAttributes.ExportAttribute