public class WrapperMetaRegisterRawVO extends VDBObject implements WrapperMetaRawValueVO
ARRAY, ASC_AND_DESC_SORT, ASCENDING_SORT, DESCENDING_SORT, NOT_SORTABLE, REGISTER, SIMPLE| Constructor and Description |
|---|
WrapperMetaRegisterRawVO()
Empty constructor of WrapperMetaRegisterRawVO
|
WrapperMetaRegisterRawVO(String name,
boolean mandatoryStatus,
boolean nullable,
int sortable,
boolean updateable,
boolean searchStatus)
WrapperMetaRegisterRawVO constructor.
|
WrapperMetaRegisterRawVO(String name,
String mapping,
boolean mandatoryStatus,
boolean nullable,
int sortable,
boolean updateable,
boolean searchStatus)
WrapperMetaRegisterRawVO constructor.
|
WrapperMetaRegisterRawVO(String name,
String mapping,
boolean nullable,
int sortable,
boolean updateable)
WrapperMetaRegisterRawVO 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. |
void |
add(WrapperMetaRawValueVO value)
Adds a new WrapperMetaRawValueVO to the WrapperMetaRegisterRawVO object.
|
void |
addAtBeginning(WrapperMetaRawValueVO value)
Adds a WrapperMetaRawValueVO at beginning.
|
Object |
copy()
Obtains a copy of this object.
|
List<WrapperMetaArrayRawVO> |
getArrayFields()
Returns the internal metadata array fields (instances of
WrapperMetaArrayRawVO)
|
String |
getMapping()
Getter for WrapperMetaRegisterRawVO mapping property.
|
Integer |
getMaxLength()
Gets the maximum length value for the field.
|
Set<String> |
getMetaRawNames()
Returns the set of internal WrapperMetaRawValueVO indexed names.
|
WrapperMetaRawValueVO |
getMetaRawValue(String key)
Returns a internal WrapperMetaRawValueVO indexed with the key parameter.
|
WrapperMetaRawValueVO |
getMetaRawValueByMapping(String key)
Returns a internal WrapperMetaRawValueVO with mapping equals to parameter.
|
List<WrapperMetaRawValueVO> |
getMetaRawValues()
Returns the set of internal WrapperMetaRawValueVO instances.
|
AbstractMap<String,WrapperMetaRawValueVO> |
getMetaRawValuesMap()
Returns the map of internal WrapperMetaRawValueVO instances.
|
int |
getNumOfMetaRawValues()
Returns the size of the internal metadata fields.
|
Integer |
getParameterIndex()
Gets the parameter index of a field.
|
HashMap<String,String> |
getPropertiesMap() |
int |
getRawType()
Returns the WrapperMetaRegisterRawVO integer type
|
List<WrapperMetaRegisterRawVO> |
getRegisterFields()
Returns the internal metadata register fields (instances of
WrapperMetaRegisterRawVO)
|
Integer |
getResultSetIndex() |
List<WrapperMetaSimpleRawVO> |
getSimpleFields()
Returns the internal metadata simple fields (instances of
WrapperMetaSimpleRawVO)
|
int |
getSortable()
Obtains the property indicating the type of ordering which supports this
raw value.
|
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 |
isGeneratedColumn() |
boolean |
isMandatoryStatus()
Getter for mandatoryStatus attribute.
|
boolean |
isNullable()
Determines if this raw value can be null or not.
|
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.
|
WrapperMetaRegisterRawVO |
newInstance()
Obtains a new WrapperMetaRegisterRawVO
|
void |
remove(String keyValue)
Remove a WrapperMetaRawValueVO with a specific name
|
void |
resetMetaRawValues(List<WrapperMetaRawValueVO> metaRawValueVOs)
Set the internal WrapperMetaRawValueVO instances to the new list clearing the previous values.
|
void |
setAutoIncrement(boolean autoIncrement) |
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 |
setGeneratedColumn(boolean generatedColumn) |
void |
setMandatoryStatus(boolean mandatoryStatus)
Setter for mandatoryStatus attribute.
|
void |
setMapping(String mapping)
Setter for WrapperMetaRegisterRawVO mapping property.
|
void |
setMaxLength(Integer maxLength)
Sets the maximum length value for the field.
|
void |
setNullable(boolean nullable)
Establishes if this raw value can be null or not.
|
void |
setParameterIndex(Integer parameterIndex)
Sets the parameter index of a field.
|
void |
setPropertiesMap(HashMap<String,String> propertiesMap) |
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 |
setUpdateable(boolean updateable)
Establishes if this raw value can be updated or not.
|
String |
toString()
Obtains a String representation of the value.
|
void |
updateMapKeys()
Regenerates the MetaRawValueVO Map with values from MetaRawValueVO list.
|
void |
updateMetaRawValueKey(String key,
String newKey)
Updates the key of an internal WrapperMetaRawValueVO.
|
copyProperties, getId, getName, isGenerateVQL, setGenerateVQL, setId, setNameequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, setNamepublic WrapperMetaRegisterRawVO()
public WrapperMetaRegisterRawVO(String name, String mapping, boolean nullable, int sortable, boolean updateable)
name - The name of the WrapperMetaRegisterRawVO object.mapping - The mapping of the WrapperMetaRegisterRawVO object.nullable - true when NULL value is allowed for this fieldsortable - the type of ordering for this field.updateable - true when this is an updateable field.public WrapperMetaRegisterRawVO(String name, boolean mandatoryStatus, boolean nullable, int sortable, boolean updateable, boolean searchStatus)
name - The name of the WrapperMetaRegisterRawVO 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.searchStatus - true when this is a searchable fieldpublic WrapperMetaRegisterRawVO(String name, String mapping, boolean mandatoryStatus, boolean nullable, int sortable, boolean updateable, boolean searchStatus)
name - The name of the WrapperMetaRegisterRawVO object.mapping - The mapping of the WrapperMetaRegisterRawVO 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.searchStatus - true when this is a searchable fieldpublic boolean isExtern()
public void setExtern(boolean extern)
extern - true if this is an extern property.public HashMap<String,String> getPropertiesMap()
getPropertiesMap in interface WrapperMetaRawValueVOpublic void setPropertiesMap(HashMap<String,String> propertiesMap)
setPropertiesMap in interface WrapperMetaRawValueVOpropertiesMap - the propertiesMap to setpublic String getMapping()
getMapping in interface WrapperMetaRawValueVOpublic void setMapping(String mapping)
setMapping in interface WrapperMetaRawValueVOmapping - The mapping to set.public 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 int getRawType()
getRawType in interface WrapperMetaRawValueVOpublic void remove(String keyValue)
keyValue - Name to index the value.public void add(WrapperMetaRawValueVO value)
value - The new metadata object to add.public void addAtBeginning(WrapperMetaRawValueVO value)
value - public Set<String> getMetaRawNames()
public List<WrapperMetaRawValueVO> getMetaRawValues()
public void resetMetaRawValues(List<WrapperMetaRawValueVO> metaRawValueVOs)
public AbstractMap<String,WrapperMetaRawValueVO> getMetaRawValuesMap()
public WrapperMetaRawValueVO getMetaRawValue(String key)
key - The indexed name of the requested WrapperMetaRawValueVO object
(no case sensitive)public void setResultSetIndex(Integer resultSetIndex)
WrapperMetaRawValueVOsetResultSetIndex in interface WrapperMetaRawValueVOpublic Integer getResultSetIndex()
getResultSetIndex in interface WrapperMetaRawValueVOpublic WrapperMetaRawValueVO getMetaRawValueByMapping(String key)
key - The indexed name of the requested WrapperMetaRawValueVO object
(no case sensitive)public void updateMetaRawValueKey(String key, String newKey)
key - the old key.newKey - the new key.public void updateMapKeys()
public int getNumOfMetaRawValues()
public List<WrapperMetaRegisterRawVO> getRegisterFields()
public List<WrapperMetaSimpleRawVO> getSimpleFields()
public List<WrapperMetaArrayRawVO> getArrayFields()
public 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 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 boolean isEscape()
WrapperMetaRawValueVOisEscape in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.isEscape()public void setEscape(boolean escape)
WrapperMetaRawValueVOsetEscape in interface WrapperMetaRawValueVOescape - true if this is an escape property.WrapperMetaRawValueVO.setEscape(boolean)public boolean isSqlFragment()
WrapperMetaRawValueVOisSqlFragment in interface WrapperMetaRawValueVOpublic void setSqlFragment(boolean sqlFragment)
WrapperMetaRawValueVOsetSqlFragment in interface WrapperMetaRawValueVOsqlFragment - true if this is an sqlFragment property.public Integer getMaxLength()
WrapperMetaRawValueVOgetMaxLength in interface WrapperMetaRawValueVOpublic void setMaxLength(Integer maxLength)
WrapperMetaRawValueVOsetMaxLength in interface WrapperMetaRawValueVOmaxLength - max length value.public Integer getParameterIndex()
getParameterIndex in interface WrapperMetaRawValueVOpublic void setParameterIndex(Integer parameterIndex)
setParameterIndex in interface WrapperMetaRawValueVOparameterIndex - public Object copy()
WrapperMetaRawValueVOcopy in interface WrapperMetaRawValueVOWrapperMetaRawValueVO.copy()public WrapperMetaRegisterRawVO newInstance()
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 setCopyright © 2024 Denodo Technologies. All rights reserved.