pl.edu.agh.cast.model
Class ModelColumn
java.lang.Object
pl.edu.agh.cast.model.ModelColumn
public class ModelColumn
- extends Object
The class which represents model column which is chosen in template wizard during column mapping.
- Author:
- AGH CAST Team
ModelColumn
public ModelColumn(String id,
String name,
int modelIndex,
String type,
boolean required,
String defaultValue)
- Constructor.
The following fields are read from column element in extension point pl.edu.agh.cast.model
- Parameters:
id
- column idname
- column user-friendly namemodelIndex
- index in model indicating column meaningtype
- defines type of cells in columnrequired
- indicates if column is required - if user has to choose during column mappingdefaultValue
- default value for column cells, if column has no default value the parameter is null
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
setParameters
public void setParameters(ModelColumnParameter[] newParameters)
getId
public String getId()
getName
public String getName()
getModelIndex
public int getModelIndex()
getType
public String getType()
isRequired
public boolean isRequired()
getDefaultValue
public String getDefaultValue()
getParameters
public ModelColumnParameter[] getParameters()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.