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.ExportAttribute
public java.lang.String getName()
getName
in interface ExportAttributes.ExportAttribute
public int getDataType()
getDataType
in interface ExportAttributes.ExportAttribute
public java.lang.String getNewName()
getNewName
in interface ExportAttributes.ExportAttribute
public int getNewDataType()
getNewDataType
in interface ExportAttributes.ExportAttribute
public boolean isExported()
isExported
in interface ExportAttributes.ExportAttribute
public boolean isComputed()
isComputed
in interface ExportAttributes.ExportAttribute
public int setNewName(java.lang.String newName)
setNewName
in interface ExportAttributes.ExportAttribute
public void setExported(boolean exported)
setExported
in interface ExportAttributes.ExportAttribute
public void setComputed(boolean computed)
setComputed
in interface ExportAttributes.ExportAttribute
public void setNewType(int dataType)
setNewType
in interface ExportAttributes.ExportAttribute
public int getSize()
getSize
in interface ExportAttributes.ExportAttribute
public void setSize(int size)
setSize
in interface ExportAttributes.ExportAttribute
public ExportAttributes.ExportAttribute clone() throws java.lang.CloneNotSupportedException
clone
in interface ExportAttributes.ExportAttribute
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
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
public boolean isFromQuery()
isFromQuery
in interface ExportAttributes.ExportAttribute