public class StringKeyReferencePoemType extends StringKeyPoemType implements PersistentReferencePoemType, PoemType<String>
Persistent object via a
String key to a unique, non-nullable index.
NOTE: The field may be a different size to the field in the target table.nullableInstance| Constructor and Description |
|---|
StringKeyReferencePoemType(Table<?> targetTable,
String targetKeyName,
boolean nullable,
int size)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
targetKeyName() |
Table<?> |
targetTable() |
String |
toDsdType()
The field type used in the Data Structure Definition language.
|
String |
toString() |
getSize, sizeGreaterEqual, withSizesqlDefaultValueassertValidCooked, assertValidRaw, canRepresent, cookedOfRaw, getNullable, getRaw, possibleRaws, quotedRaw, rawOfCooked, rawOfString, saveColumnInfo, setRaw, setRawRange, sqlDefinition, sqlTypeCode, sqlTypeDefinition, stringOfCooked, stringOfRaw, withNullableequals, getClass, hashCode, notify, notifyAll, wait, wait, waitassertValidCooked, assertValidRaw, canRepresent, cookedOfRaw, getNullable, possibleRaws, rawOfCooked, rawOfString, saveColumnInfo, stringOfCooked, stringOfRaw, withNullablepublic StringKeyReferencePoemType(Table<?> targetTable, String targetKeyName, boolean nullable, int size)
targetTable - the Table the type refers totargetKeyName - name of key both in this and target tablenullable - whether this type may contain null valuessize - the size of the key stringpublic Table<?> targetTable()
targetTable in interface PersistentReferencePoemTypePersistentReferencePoemType.targetTable()public String targetKeyName()
public String toString()
toString in class StringPoemTypeBasePoemType.toString()public String toDsdType()
toDsdType in interface PoemType<String>toDsdType in class StringPoemTypePoemType.toDsdType()Copyright © 2000–2021 PanEris. All rights reserved.