Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.wcps.property
Class ClobData

java.lang.Object
  extended by oracle.wcps.property.ClobData

All Implemented Interfaces:
java.io.Serializable, PropertyValue

public class ClobData
extends java.lang.Object
implements PropertyValue, java.io.Serializable

Encapsulates a large string. This is used for storing large XML documents, text documents, etc.

See Also:
Serialized Form

Constructor Summary
ClobData()
          Only for JAXB
ClobData(java.lang.String value)
          Creates this with the given value.

 

Method Summary
 java.util.List<PropertyValue> asList(ClobData[] ts)
          Converts the given array to list of this.
 boolean equals(java.lang.Object o)
           
 java.lang.String getValue()
          Returns the raw string value.
 int hashCode()
           
 void setValue(java.lang.String value)
          Sets the given value as its raw value.
 java.lang.String toString()
           
 java.io.Serializable unwrap()
          Unwraps this into correct type value.
 java.io.Serializable unwrap(java.util.List<? extends PropertyValue> values, boolean isMultiValue)
          Unwraps this into correct type values.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ClobData

public ClobData()
Only for JAXB

ClobData

public ClobData(java.lang.String value)
Creates this with the given value.
Parameters:
value - a string value.

Method Detail

getValue

public java.lang.String getValue()
Returns the raw string value.
Specified by:
getValue in interface PropertyValue
Returns:
the string value.

setValue

public void setValue(java.lang.String value)
Sets the given value as its raw value.
Parameters:
value - a non-null string value.

unwrap

public java.io.Serializable unwrap()
Description copied from interface: PropertyValue
Unwraps this into correct type value.
Specified by:
unwrap in interface PropertyValue
Returns:
a raw property value whose type is one of the Type enum values.

unwrap

public java.io.Serializable unwrap(java.util.List<? extends PropertyValue> values,
                                   boolean isMultiValue)
Description copied from interface: PropertyValue
Unwraps this into correct type values. If isMultiValue is true it will convert values into an array of values.
Specified by:
unwrap in interface PropertyValue
Parameters:
values - a list of property values.
isMultiValue - if this is an array or not.
Returns:
unwrapped values.

asList

public java.util.List<PropertyValue> asList(ClobData[] ts)
Converts the given array to list of this.
Parameters:
ts - an array of this.
Returns:
list of elements of ts.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.