com.iphrase.onestep.beans
Class ValueHandler.BaseValue

java.lang.Object
  |
  +--com.iphrase.onestep.beans.ValueHandler.BaseValue
Direct Known Subclasses:
ValueHandler.BooleanValue, ValueHandler.CustomValue, ValueHandler.DateTimeValue, ValueHandler.FloatValue, ValueHandler.ImageUrlValue, ValueHandler.IntValue, ValueHandler.LinkValue, ValueHandler.TaxonomyValue, ValueHandler.TextExtractValue, ValueHandler.TextValue
Enclosing class:
ValueHandler

public class ValueHandler.BaseValue
extends java.lang.Object

A super class for all xxxValue sub-classes.


Constructor Summary
ValueHandler.BaseValue(java.lang.Object obj, boolean summarized)
          Initializes the object
 
Method Summary
 void EnsureNotSummarized()
          Verifies that no "Summarized" specific functions are called on NotSummarized objects
 void EnsureSummarized()
          Verifies that no "NotSummarized" specific functions are called on Summarized objects
 boolean getIsNull()
          Identical to isNull(), but starts with 'get' in order to expose bean property to JSP/JSTL.
 boolean getIsSummarized()
          Returns true if the the object contains a summarized value
 java.lang.Object getObject()
          Gets the actual OneStep value.
 boolean isNull()
          Returns true if the OneStep value object is null
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueHandler.BaseValue

public ValueHandler.BaseValue(java.lang.Object obj,
                              boolean summarized)
Initializes the object
Parameters:
obj - OneStep Runtime API object
summarized - true if this is a summarized value
Method Detail

getIsNull

public boolean getIsNull()
Identical to isNull(), but starts with 'get' in order to expose bean property to JSP/JSTL. Returns true if the OneStep value object is null
Returns:
isNull property

isNull

public boolean isNull()
Returns true if the OneStep value object is null
Returns:
isNull property

EnsureSummarized

public void EnsureSummarized()
                      throws com.iphrase.runtime.exception.WebServiceError
Verifies that no "NotSummarized" specific functions are called on Summarized objects
Throws:
com.iphrase.runtime.exception.WebServiceError -  

EnsureNotSummarized

public void EnsureNotSummarized()
                         throws com.iphrase.runtime.exception.WebServiceError
Verifies that no "Summarized" specific functions are called on NotSummarized objects
Throws:
com.iphrase.runtime.exception.WebServiceError -  

getIsSummarized

public boolean getIsSummarized()
Returns true if the the object contains a summarized value
Returns:
isSummarized property

getObject

public java.lang.Object getObject()
Gets the actual OneStep value.
Returns:
object property

© Copyright 2005, 2006. IBM Corporation. All rights reserved.