public class WrapperMetaSimpleRawVO extends Object implements WrapperMetaRawValueVO
ARRAY, ASC_AND_DESC_SORT, ASCENDING_SORT, DESCENDING_SORT, NOT_SORTABLE, REGISTER, SIMPLE| Constructor and Description |
|---|
WrapperMetaSimpleRawVO()
Empty WrapperMetaSimpleRawVO constructor.
|
WrapperMetaSimpleRawVO(String name,
String mapping,
boolean nullable,
int sortable,
boolean updateable,
Class<?> type,
boolean searchStatus,
boolean mandatoryStatus,
HashMap<String,String> propertiesMap,
boolean extern,
boolean escape)
WrapperMetaSimpleRawVO constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(com.denodo.vdb.vdbinterface.common.clientResult.vo.descriptions.wrapper.visitor.WrapperMetaRawValueVisitor visitor)
Accepts a
WrapperMetaRawValueVisitor object that will process the
WrapperMetaRawValueVO instance. |
Object |
copy()
Obtains a copy of this object.
|
String |
getDefaultValue() |
LinkedHashSet<String> |
getFkNames() |
LinkedHashSet<String> |
getIndexesNames() |
String |
getMapping()
Getter for mapping attribute.
|
Integer |
getMaxLength()
Gets the maximum length value for the field.
|
String |
getName()
Getter for name attribute
|
String |
getNullValue() |
Integer |
getParameterIndex()
Gets the parameter index of a field.
|
HashMap<String,String> |
getPropertiesMap() |
int |
getRawType()
Returns The internal metadata type.
|
String |
getRemark() |
Integer |
getResultSetIndex() |
int |
getSortable()
Obtains the property indicating the type of ordering which supports this
raw value.
|
Class<?> |
getType()
Getter for class type attribute.
|
String |
getTypeStringRepresentation()
Obtains a String representation of the type.
|
boolean |
isAutoIncrement() |
boolean |
isEscape()
Obtains the 'escape' property, which indicates that this value must be
escaped when delegate it to the source
|
boolean |
isExtern()
Obtains the 'extern' property, which indicates that this value is not obtained
from the source.
|
boolean |
isExternWhereExpression() |
boolean |
isGeneratedColumn() |
boolean |
isInForeignKey() |
boolean |
isInIndexes() |
boolean |
isMandatoryStatus()
Getter for mandatoryStatus attribute.
|
boolean |
isMeasure()
Gets the 'measure' property which indicates if the field is
a measure of an olap wrapper.
|
boolean |
isNoAggregate() |
boolean |
isNullable()
Determines if this raw value can be null or not.
|
boolean |
isPrimaryKey() |
boolean |
isSearchStatus()
Getter for searchStatus attribute.
|
boolean |
isSqlFragment()
Obtains the 'sqlFragment' property, which indicates that this value
is a SQL fragment.
|
boolean |
isUpdateable()
Determines if this raw value can be updated or not.
|
boolean |
isURIParam() |
boolean |
isVariable()
Used for sap-bw and olap wrappers.
|
void |
setAutoIncrement(boolean autoIncrement) |
void |
setDefaultValue(String defaultValue) |
void |
setEscape(boolean escape)
Sets the 'escape' property, which indicates that this value must be
escaped when delegate it to the source
|
void |
setExtern(boolean extern)
Sets the 'extern' property, which indicates that this value is not obtained
from the source.
|
void |
setExternWhereExpression(boolean externWhereExpression) |
void |
setFkNames(LinkedHashSet<String> fkNames) |
void |
setGeneratedColumn(boolean generatedColumn) |
void |
setIndexesNames(LinkedHashSet<String> indexesNames) |
void |
setMandatoryStatus(boolean mandatoryStatus)
Setter for mandatoryStatus attribute.
|
void |
setMapping(String mapping)
Setter for mapping attribute.
|
void |
setMaxLength(Integer maxLength)
Sets the maximum length value for the field.
|
void |
setMeasure(boolean measure)
Sets the 'measure' property which indicates if the field is
a measure of an olap wrapper.
|
void |
setName(String name)
Setter for name attribute.
|
void |
setNoAggregate(boolean noAggregate) |
void |
setNullable(boolean nullable)
Establishes if this raw value can be null or not.
|
void |
setNullValue(String nullString) |
void |
setParameterIndex(Integer parameterIndex)
Sets the parameter index of a field.
|
void |
setPrimaryKey(boolean isPrimaryKey) |
void |
setPropertiesMap(HashMap<String,String> propertiesMap) |
void |
setRemark(String remark) |
void |
setResultSetIndex(Integer resultSetIndex)
Set the index of the returned resultset this field belongs to
|
void |
setSearchStatus(boolean searchStatus)
Setter for searchStatus attribute.
|
void |
setSortable(int sortable)
Establishes the property indicating the type of ordering which supports this
raw value.
|
void |
setSqlFragment(boolean sqlFragment)
Sets the 'sqlFragment' property, which indicates that this value
is a SQL fragment.
|
void |
setType(Class<?> type)
Setter for class type attribute.
|
void |
setUpdateable(boolean updateable)
Establishes if this raw value can be updated or not.
|
void |
setURIParam(boolean uriParam) |
void |
setVariable(boolean variable)
Used for sap-bw and olap wrappers.
|
String |
toString()
Obtains a String representation of the value.
|
public WrapperMetaSimpleRawVO()
public WrapperMetaSimpleRawVO(String name, String mapping, boolean nullable, int sortable, boolean updateable, Class<?> type, boolean searchStatus, boolean mandatoryStatus, HashMap<String,String> propertiesMap, boolean extern, boolean escape)
name - The name of the WrapperMetaSimpleRawVO object.mapping - The mapping of the WrapperMetaSimpleRawVO object.mandatoryStatus - true when this is a searchable mandatory fieldnullable - true when NULL value is allowed for this fieldsortable - the type of ordering for this field.updateable - true when this is an updateable field.type - the type of the fieldsearchStatus - true when this is a searchable fieldextern - indicates if this value is obtained
from the source or not.escape - indicates if this value must be escaped
to delegate it.public String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue - the defaultValue to setpublic int getRawType()
getRawType in interface WrapperMetaRawValueVOpublic Class<?> getType()
public void setType(Class<?> type)
type - The internal value Java class.public String getName()
getName in interface WrapperMetaRawValueVOpublic void setName(String name)
setName in interface WrapperMetaRawValueVOname - The new metadata name.public String getMapping()
getMapping in interface WrapperMetaRawValueVOpublic void setMapping(String mapping)
setMapping in interface WrapperMetaRawValueVOmapping - The mapping to set.public HashMap<String,String> getPropertiesMap()
getPropertiesMap in interface WrapperMetaRawValueVOpublic void setPropertiesMap(HashMap<String,String> propertiesMap)
setPropertiesMap in interface WrapperMetaRawValueVOpropertiesMap - the propertiesMap to setpublic boolean isNullable()
WrapperMetaRawValueVOisNullable in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.isNullable()public void setNullable(boolean nullable)
WrapperMetaRawValueVOsetNullable in interface WrapperMetaRawValueVOnullable - if true, the raw value can be null.WrapperMetaRawValueVO.setNullable(boolean)public int getSortable()
WrapperMetaRawValueVOgetSortable in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.getSortable()public void setSortable(int sortable)
WrapperMetaRawValueVOsetSortable in interface WrapperMetaRawValueVOsortable - the property indicating the type of ordering which supports
this raw value.WrapperMetaRawValueVO.setSortable(int)public boolean isUpdateable()
WrapperMetaRawValueVOisUpdateable in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.isUpdateable()public void setUpdateable(boolean updateable)
WrapperMetaRawValueVOsetUpdateable in interface WrapperMetaRawValueVOupdateable - if true, the raw value can be updated.WrapperMetaRawValueVO.setUpdateable(boolean)public boolean isSearchStatus()
WrapperMetaRawValueVOisSearchStatus in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.isSearchStatus()public void setSearchStatus(boolean searchStatus)
WrapperMetaRawValueVOsetSearchStatus in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.setSearchStatus(boolean)public boolean isMandatoryStatus()
WrapperMetaRawValueVOisMandatoryStatus in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.isMandatoryStatus()public void setMandatoryStatus(boolean mandatoryStatus)
WrapperMetaRawValueVOsetMandatoryStatus in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.setMandatoryStatus(boolean)public String getTypeStringRepresentation()
public boolean isExtern()
public void setExtern(boolean extern)
extern - true if this is an extern property.public boolean isEscape()
isEscape in interface WrapperMetaRawValueVOpublic void setEscape(boolean escape)
setEscape in interface WrapperMetaRawValueVOescape - true if this is an escape property.public boolean isMeasure()
public void setMeasure(boolean measure)
measure - public Integer getParameterIndex()
getParameterIndex in interface WrapperMetaRawValueVOpublic void setParameterIndex(Integer parameterIndex)
setParameterIndex in interface WrapperMetaRawValueVOparameterIndex - public boolean isVariable()
public void setVariable(boolean variable)
variable - the variable to setpublic boolean isSqlFragment()
WrapperMetaRawValueVOisSqlFragment in interface WrapperMetaRawValueVOpublic void setSqlFragment(boolean sqlFragment)
WrapperMetaRawValueVOsetSqlFragment in interface WrapperMetaRawValueVOsqlFragment - true if this is an sqlFragment property.public boolean isURIParam()
public void setURIParam(boolean uriParam)
public boolean isExternWhereExpression()
public void setExternWhereExpression(boolean externWhereExpression)
public Integer getMaxLength()
WrapperMetaRawValueVOgetMaxLength in interface WrapperMetaRawValueVOpublic void setMaxLength(Integer maxLength)
WrapperMetaRawValueVOsetMaxLength in interface WrapperMetaRawValueVOmaxLength - max length value.public String getRemark()
public void setRemark(String remark)
public boolean isPrimaryKey()
public void setPrimaryKey(boolean isPrimaryKey)
public boolean isInForeignKey()
public boolean isInIndexes()
public LinkedHashSet<String> getFkNames()
public void setFkNames(LinkedHashSet<String> fkNames)
public LinkedHashSet<String> getIndexesNames()
public void setIndexesNames(LinkedHashSet<String> indexesNames)
public String getNullValue()
public void setNullValue(String nullString)
public void setResultSetIndex(Integer resultSetIndex)
WrapperMetaRawValueVOsetResultSetIndex in interface WrapperMetaRawValueVOpublic Integer getResultSetIndex()
getResultSetIndex in interface WrapperMetaRawValueVOpublic void accept(com.denodo.vdb.vdbinterface.common.clientResult.vo.descriptions.wrapper.visitor.WrapperMetaRawValueVisitor visitor)
WrapperMetaRawValueVOWrapperMetaRawValueVisitor object that will process the
WrapperMetaRawValueVO instance.accept in interface WrapperMetaRawValueVOvisitor - the visitor instance.WrapperMetaRawValueVO.accept(com.denodo.vdb.vdbinterface.common.clientResult.vo.descriptions.wrapper.visitor.WrapperMetaRawValueVisitor)public String toString()
WrapperMetaRawValueVOtoString in interface WrapperMetaRawValueVOtoString in class ObjectWrapperMetaRawValueVO.toString()public Object copy()
WrapperMetaRawValueVOcopy in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.copy()public boolean isAutoIncrement()
isAutoIncrement in interface WrapperMetaRawValueVOpublic void setAutoIncrement(boolean autoIncrement)
setAutoIncrement in interface WrapperMetaRawValueVOautoIncrement - the autoIncrement to setpublic boolean isGeneratedColumn()
isGeneratedColumn in interface WrapperMetaRawValueVOpublic void setGeneratedColumn(boolean generatedColumn)
setGeneratedColumn in interface WrapperMetaRawValueVOgeneratedColumn - the generatedColumn to setpublic boolean isNoAggregate()
public void setNoAggregate(boolean noAggregate)
Copyright © 2024 Denodo Technologies. All rights reserved.