org.melati.poem
Class IntegrityFixPoemType
java.lang.Object
org.melati.poem.BasePoemType<T>
org.melati.poem.AtomPoemType<T>
org.melati.poem.IntegerPoemType
org.melati.poem.IndexPoemType
org.melati.poem.IntegrityFixPoemType
- All Implemented Interfaces:
- Cloneable, PoemType, SQLPoemType, SQLType
public class IntegrityFixPoemType
- extends IndexPoemType
A type for IntegrityFix
s.
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 |
IntegrityFixPoemType
public IntegrityFixPoemType(boolean nullable)
- Constructor.
- Parameters:
nullable
- whether may be null
_possibleRaws
protected Enumeration _possibleRaws()
- Overrides:
_possibleRaws
in class IntegerPoemType
_assertValidCooked
protected void _assertValidCooked(Object cooked)
throws ValidationPoemException
-
- Overrides:
_assertValidCooked
in class AtomPoemType
- Throws:
ValidationPoemException
- See Also:
AtomPoemType._assertValidCooked(java.lang.Object)
_cookedOfRaw
protected Object _cookedOfRaw(Object raw)
throws NoSuchRowPoemException
- Description copied from class:
AtomPoemType
- Returns the given value unchanged.
- Overrides:
_cookedOfRaw
in class AtomPoemType
- Parameters:
raw
- the base object or Integer object id
- Returns:
- the unchanged base object or an instantiated type
- Throws:
NoSuchRowPoemException
_rawOfCooked
protected Object _rawOfCooked(Object cooked)
- Description copied from class:
AtomPoemType
- Returns the given value unchanged.
- Overrides:
_rawOfCooked
in class AtomPoemType
_stringOfCooked
protected String _stringOfCooked(Object cooked,
PoemLocale locale,
int style)
throws PoemException
- Overrides:
_stringOfCooked
in class AtomPoemType
- Throws:
PoemException
_canRepresent
protected boolean _canRepresent(SQLPoemType other)
- Description copied from class:
IntegerPoemType
-
- Overrides:
_canRepresent
in class IntegerPoemType
- See Also:
BasePoemType._canRepresent(org.melati.poem.SQLPoemType)
_saveColumnInfo
protected void _saveColumnInfo(ColumnInfo columnInfo)
throws AccessPoemException
- Overrides:
_saveColumnInfo
in class IntegerPoemType
- Throws:
AccessPoemException
toString
public String toString()
-
- Overrides:
toString
in class BasePoemType
- See Also:
BasePoemType.toString()
toDsdType
public String toDsdType()
- The field type used in the Data Structure Definition language.
- Specified by:
toDsdType
in interface PoemType
- Overrides:
toDsdType
in class IntegerPoemType
- Returns:
- the Type name
- See Also:
PoemType.toDsdType()
Copyright © 2000-2010 PanEris. All Rights Reserved.