co.uk.hjcs.canyon.mapping
Class ClassMapping
java.lang.Object
co.uk.hjcs.canyon.mapping.ClassMapping
public class ClassMapping
- extends java.lang.Object
Holds the mapping information for a class
- Author:
- HJC Solutions Ltd (http://canyon.hjcsolutions.co.uk)
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
ClassMapping
public ClassMapping()
getType
public FileType getType()
setType
public void setType(FileType type)
getClassName
public java.lang.String getClassName()
setClassName
public void setClassName(java.lang.String className)
getStartIndex
public int getStartIndex()
setStartIndex
public void setStartIndex(int startIndex)
getDelimiter
public java.lang.String getDelimiter()
setDelimiter
public void setDelimiter(java.lang.String delimiter)
getPropertiesMap
public java.util.Map<java.lang.String,MappingProperty> getPropertiesMap()
getProperties
public java.util.List<MappingProperty> getProperties()
addProperty
public void addProperty(java.lang.String propertyName,
MappingProperty property)
getIdProperty
public MappingProperty getIdProperty()
setIdProperty
public void setIdProperty(MappingProperty idProperty)
getStartLine
public long getStartLine()
setStartLine
public void setStartLine(long startLine)
getBatchSize
public int getBatchSize()
- Returns:
- the batchSize
setBatchSize
public void setBatchSize(int batchSize)
- Parameters:
batchSize - the batchSize to set
getInputDataSources
public java.util.List<Resource> getInputDataSources()
addInputResource
public void addInputResource(Resource inputResource)
getOutputDataSource
public Resource getOutputDataSource()
setOutputDataSource
public void setOutputDataSource(Resource outputDataSource)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object