public class TupleDef extends Object
| Constructor and Description |
|---|
TupleDef(EntityType entityType,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
TupleDef |
add(String column,
String type) |
TupleDef |
add(String column,
String type,
String propertyName)
add column mapping to this tuple
|
boolean |
equals(Object o) |
String |
getEntityName() |
EntityType |
getEntityType() |
int |
getFieldCount() |
List<TuplePropertyDef> |
getProperties()
all column mappings
|
Map<String,TuplePropertyDef> |
getPropertiesMap()
maps property name to mapping
|
TuplePropertyDef |
getProperty(int index) |
TuplePropertyDef |
getProperty(String propertyName) |
String |
getTableName() |
int |
hashCode() |
boolean |
hasMapping(String propertyName) |
String |
toString() |
public TupleDef(EntityType entityType, String tableName)
public TupleDef add(String column, String type, String propertyName)
column - column nametype - mpp type codepropertyName - property namepublic String getEntityName()
public int getFieldCount()
public TuplePropertyDef getProperty(String propertyName)
public TuplePropertyDef getProperty(int index)
public boolean hasMapping(String propertyName)
public EntityType getEntityType()
public String getTableName()
public List<TuplePropertyDef> getProperties()
public Map<String,TuplePropertyDef> getPropertiesMap()
Copyright © 2021. All rights reserved.