org.melati.poem.test
Class NonSQLPoemType

Package class diagram package NonSQLPoemType
java.lang.Object
  extended by org.melati.poem.test.NonSQLPoemType
All Implemented Interfaces:
org.melati.poem.PoemType

public class NonSQLPoemType
extends Object
implements org.melati.poem.PoemType

Since:
29 Dec 2006
Author:
timp

Constructor Summary
NonSQLPoemType()
           
 
Method Summary
 void assertValidCooked(Object cooked)
          
 void assertValidRaw(Object raw)
          
 org.melati.poem.PoemType canRepresent(org.melati.poem.PoemType other)
          
 Object cookedOfRaw(Object raw)
          
 boolean getNullable()
          
 Enumeration possibleRaws()
          
 Object rawOfCooked(Object cooked)
          
 Object rawOfString(String rawString)
          
 void saveColumnInfo(org.melati.poem.ColumnInfo columnInfo)
          
 String stringOfCooked(Object cooked, org.melati.poem.PoemLocale locale, int style)
          
 String stringOfRaw(Object raw)
          
 String toDsdType()
          
 org.melati.poem.PoemType withNullable(boolean nullable)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonSQLPoemType

public NonSQLPoemType()
Method Detail

assertValidCooked

public void assertValidCooked(Object cooked)
                       throws org.melati.poem.TypeMismatchPoemException,
                              org.melati.poem.ValidationPoemException

Specified by:
assertValidCooked in interface org.melati.poem.PoemType
Throws:
org.melati.poem.TypeMismatchPoemException
org.melati.poem.ValidationPoemException
See Also:
PoemType.assertValidCooked(java.lang.Object)

assertValidRaw

public void assertValidRaw(Object raw)
                    throws org.melati.poem.TypeMismatchPoemException,
                           org.melati.poem.ValidationPoemException

Specified by:
assertValidRaw in interface org.melati.poem.PoemType
Throws:
org.melati.poem.TypeMismatchPoemException
org.melati.poem.ValidationPoemException
See Also:
PoemType.assertValidRaw(java.lang.Object)

canRepresent

public org.melati.poem.PoemType canRepresent(org.melati.poem.PoemType other)

Specified by:
canRepresent in interface org.melati.poem.PoemType
See Also:
PoemType.canRepresent(org.melati.poem.PoemType)

cookedOfRaw

public Object cookedOfRaw(Object raw)
                   throws org.melati.poem.TypeMismatchPoemException,
                          org.melati.poem.PoemException

Specified by:
cookedOfRaw in interface org.melati.poem.PoemType
Throws:
org.melati.poem.TypeMismatchPoemException
org.melati.poem.PoemException
See Also:
PoemType.cookedOfRaw(java.lang.Object)

getNullable

public boolean getNullable()

Specified by:
getNullable in interface org.melati.poem.PoemType
See Also:
PoemType.getNullable()

possibleRaws

public Enumeration possibleRaws()

Specified by:
possibleRaws in interface org.melati.poem.PoemType
See Also:
PoemType.possibleRaws()

rawOfCooked

public Object rawOfCooked(Object cooked)
                   throws org.melati.poem.TypeMismatchPoemException

Specified by:
rawOfCooked in interface org.melati.poem.PoemType
Throws:
org.melati.poem.TypeMismatchPoemException
See Also:
PoemType.rawOfCooked(java.lang.Object)

rawOfString

public Object rawOfString(String rawString)
                   throws org.melati.poem.ParsingPoemException,
                          org.melati.poem.ValidationPoemException

Specified by:
rawOfString in interface org.melati.poem.PoemType
Throws:
org.melati.poem.ParsingPoemException
org.melati.poem.ValidationPoemException
See Also:
PoemType.rawOfString(java.lang.String)

saveColumnInfo

public void saveColumnInfo(org.melati.poem.ColumnInfo columnInfo)
                    throws org.melati.poem.AccessPoemException

Specified by:
saveColumnInfo in interface org.melati.poem.PoemType
Throws:
org.melati.poem.AccessPoemException
See Also:
PoemType.saveColumnInfo(org.melati.poem.ColumnInfo)

stringOfCooked

public String stringOfCooked(Object cooked,
                             org.melati.poem.PoemLocale locale,
                             int style)
                      throws org.melati.poem.TypeMismatchPoemException,
                             org.melati.poem.PoemException

Specified by:
stringOfCooked in interface org.melati.poem.PoemType
Throws:
org.melati.poem.TypeMismatchPoemException
org.melati.poem.PoemException
See Also:
PoemType.stringOfCooked(java.lang.Object, org.melati.poem.PoemLocale, int)

stringOfRaw

public String stringOfRaw(Object raw)
                   throws org.melati.poem.TypeMismatchPoemException,
                          org.melati.poem.ValidationPoemException

Specified by:
stringOfRaw in interface org.melati.poem.PoemType
Throws:
org.melati.poem.TypeMismatchPoemException
org.melati.poem.ValidationPoemException
See Also:
PoemType.stringOfRaw(java.lang.Object)

toDsdType

public String toDsdType()

Specified by:
toDsdType in interface org.melati.poem.PoemType
See Also:
PoemType.toDsdType()

withNullable

public org.melati.poem.PoemType withNullable(boolean nullable)

Specified by:
withNullable in interface org.melati.poem.PoemType
See Also:
PoemType.withNullable(boolean)


Copyright © 2000-2010 PanEris. All Rights Reserved.