com.flexive.shared.value
Class FxVoid

java.lang.Object
  extended by com.flexive.shared.value.FxValue<java.lang.Object,FxVoid>
      extended by com.flexive.shared.value.FxVoid
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FxValue>

public final class FxVoid
extends FxValue<java.lang.Object,FxVoid>

A "void" FxValue that cannot be read or written.

Version:
$Rev: 2906 $
Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.flexive.shared.value.FxValue
DEFAULT_MULTILANGUAGE, defaultLanguage, emptyTranslations, multiLanguage, singleValue, translations, VALUE_NODATA
 
Constructor Summary
FxVoid()
           
 
Method Summary
 FxVoid copy()
          Creates a copy of the given object (useful if the actual type is unknown).
 java.lang.Object fromString(java.lang.String value)
          Evaluates the given string value to an object of type T.
 java.lang.Object getEmptyValue()
          Returns an empty value object for this FxValue type.
 java.lang.Class<java.lang.Object> getValueClass()
          Return the class instance of the value type.
 
Methods inherited from class com.flexive.shared.value.FxValue
clearDefaultLanguage, clearValueData, compareTo, copyValue, equals, fromPortableString, getBestTranslation, getBestTranslation, getBestTranslation, getBestTranslation, getDefaultLanguage, getDefaultTranslation, getErrorValue, getIsEmpty, getMaxInputLength, getPortableStringValue, getSelectedLanguage, getSqlValue, getStringValue, getTranslatedLanguages, getTranslation, getTranslation, getValueData, getValueDataRaw, getXPath, getXPathName, hasDefaultLanguage, hashCode, hasValueData, isAcceptsEmptyDefaultTranslations, isDefaultLanguage, isEmpty, isImmutableValueType, isMultiLanguage, isReadOnly, isTranslationEmpty, isTranslationEmpty, isValid, isValid, isValid, removeLanguage, setChangeListener, setDefaultLanguage, setDefaultLanguage, setDefaultTranslation, setEmpty, setEmpty, setMaxInputLength, setReadOnly, setSelectedLanguage, setTranslation, setTranslation, setValue, setValueData, setXPath, setXPath, toString, translationExists
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FxVoid

public FxVoid()
Method Detail

fromString

public java.lang.Object fromString(java.lang.String value)
Evaluates the given string value to an object of type T.

Specified by:
fromString in class FxValue<java.lang.Object,FxVoid>
Parameters:
value - string value to be evaluated
Returns:
the value interpreted as T

copy

public FxVoid copy()
Creates a copy of the given object (useful if the actual type is unknown).

Specified by:
copy in class FxValue<java.lang.Object,FxVoid>
Returns:
a copy of the given object (useful if the actual type is unknown).

getValueClass

public java.lang.Class<java.lang.Object> getValueClass()
Return the class instance of the value type.

Specified by:
getValueClass in class FxValue<java.lang.Object,FxVoid>
Returns:
the class instance of the value type.

getEmptyValue

public java.lang.Object getEmptyValue()
Returns an empty value object for this FxValue type.

Specified by:
getEmptyValue in class FxValue<java.lang.Object,FxVoid>
Returns:
an empty value object for this FxValue type.