|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.poem.BasePoemType
org.melati.poem.AtomPoemType
org.melati.poem.IntegerPoemType
org.melati.poem.IndexPoemType
org.melati.poem.ReferencePoemType
org.melati.poem.RestrictedReferencePoemType
public class RestrictedReferencePoemType
A pointer to a subset of a Table.
Note this doesn't do quite what you'd expect, and can't unless it parses
the selection's whereClause in order to determine what a
valid value is, so use a simple where clause.
| Field Summary |
|---|
| Fields inherited from class org.melati.poem.IntegerPoemType |
|---|
nullableInstance |
| Fields inherited from class org.melati.poem.AtomPoemType |
|---|
sqlTypeName |
| Fields inherited from class org.melati.poem.BasePoemType |
|---|
nullable |
| Constructor Summary | |
|---|---|
RestrictedReferencePoemType(CachedSelection selection,
boolean nullable)
Constructor. |
|
| Method Summary | |
|---|---|
protected java.util.Enumeration |
_possibleRaws()
Returns an Enumeration of the possible raw values. |
| Methods inherited from class org.melati.poem.ReferencePoemType |
|---|
_assertValidCooked, _canRepresent, _cookedOfRaw, _rawOfCooked, _saveColumnInfo, _stringOfCooked, targetTable, toDsdType, toString |
| Methods inherited from class org.melati.poem.IntegerPoemType |
|---|
_assertValidRaw, _getRaw, _rawOfString, _setRaw |
| Methods inherited from class org.melati.poem.AtomPoemType |
|---|
_quotedRaw, _sqlDefinition, _stringOfRaw, _toString, sqlDefaultValue |
| Methods inherited from class org.melati.poem.BasePoemType |
|---|
assertValidCooked, assertValidRaw, canRepresent, clone, cookedOfRaw, getLimitRaw, getLowRaw, getNullable, getRaw, possibleRaws, quotedRaw, rawOfCooked, rawOfString, saveColumnInfo, setRaw, setRawRange, sqlDefinition, sqlTypeCode, sqlTypeDefinition, stringOfCooked, stringOfRaw, withNullable |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RestrictedReferencePoemType(CachedSelection selection,
boolean nullable)
selection - a CachedSelection of that is the sub-setnullable - whether instance may be null| Method Detail |
|---|
protected java.util.Enumeration _possibleRaws()
ReferencePoemTypeEnumeration of the possible raw values.
In this case the troids of rows in the referenced table.
_possibleRaws in class ReferencePoemType
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||