Package org.cyclos.entities.system
Class ImportedField
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.system.ImportedField
-
- All Implemented Interfaces:
Cloneable,Comparable<ImportedField>,ProcessableForProxying,IEntity
@Entity public class ImportedField extends SimpleEntity implements Comparable<ImportedField>
Stores a column in an imported file
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ImportedField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ImportedField o)StringgetFieldId()StringgetFieldName()ImportedFilegetImportedFile()intgetIndex()This is the index in the original file.voidsetFieldId(String fieldId)voidsetFieldName(String fieldName)voidsetImportedFile(ImportedFile importedFile)voidsetIndex(int index)-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
compareTo
public int compareTo(ImportedField o)
- Specified by:
compareToin interfaceComparable<ImportedField>
-
getFieldId
public String getFieldId()
-
getFieldName
public String getFieldName()
-
getImportedFile
public ImportedFile getImportedFile()
-
getIndex
public int getIndex()
This is the index in the original file. If some header was ignored, there will be gaps in the indexes
-
setFieldId
public void setFieldId(String fieldId)
-
setFieldName
public void setFieldName(String fieldName)
-
setImportedFile
public void setImportedFile(ImportedFile importedFile)
-
setIndex
public void setIndex(int index)
-
-