Liferay 6.0.3

com.liferay.portlet.expando.model
Class ExpandoValueWrapper

java.lang.Object
  extended by com.liferay.portlet.expando.model.ExpandoValueWrapper
All Implemented Interfaces:
BaseModel<ExpandoValue>, ExpandoValue, ExpandoValueModel, Serializable, Cloneable, Comparable<ExpandoValue>

public class ExpandoValueWrapper
extends Object
implements ExpandoValue

This class is a wrapper for ExpandoValue.

See Also:
ExpandoValue, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
ExpandoValueWrapper(ExpandoValue expandoValue)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ExpandoValue expandoValue)
           
 boolean getBoolean()
           
 boolean[] getBooleanArray()
           
 String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getColumnId()
           
 long getCompanyId()
           
 String getData()
           
 Date getDate()
           
 Date[] getDateArray()
           
 double getDouble()
           
 double[] getDoubleArray()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 float getFloat()
           
 float[] getFloatArray()
           
 int getInteger()
           
 int[] getIntegerArray()
           
 long getLong()
           
 long[] getLongArray()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 long getRowId()
           
 short getShort()
           
 short[] getShortArray()
           
 String getString()
           
 String[] getStringArray()
           
 long getTableId()
           
 long getValueId()
           
 ExpandoValue getWrappedExpandoValue()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void setBoolean(boolean data)
           
 void setBooleanArray(boolean[] data)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setColumnId(long columnId)
           
 void setCompanyId(long companyId)
           
 void setData(String data)
           
 void setDate(Date data)
           
 void setDateArray(Date[] data)
           
 void setDouble(double data)
           
 void setDoubleArray(double[] data)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFloat(float data)
           
 void setFloatArray(float[] data)
           
 void setInteger(int data)
           
 void setIntegerArray(int[] data)
           
 void setLong(long data)
           
 void setLongArray(long[] data)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setRowId(long rowId)
           
 void setShort(short data)
           
 void setShortArray(short[] data)
           
 void setString(String data)
           
 void setStringArray(String[] data)
           
 void setTableId(long tableId)
           
 void setValueId(long valueId)
           
 ExpandoValue toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpandoValueWrapper

public ExpandoValueWrapper(ExpandoValue expandoValue)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface ExpandoValueModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface ExpandoValueModel

getValueId

public long getValueId()
Specified by:
getValueId in interface ExpandoValueModel

setValueId

public void setValueId(long valueId)
Specified by:
setValueId in interface ExpandoValueModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface ExpandoValueModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface ExpandoValueModel

getTableId

public long getTableId()
Specified by:
getTableId in interface ExpandoValueModel

setTableId

public void setTableId(long tableId)
Specified by:
setTableId in interface ExpandoValueModel

getColumnId

public long getColumnId()
Specified by:
getColumnId in interface ExpandoValueModel

setColumnId

public void setColumnId(long columnId)
Specified by:
setColumnId in interface ExpandoValueModel

getRowId

public long getRowId()
Specified by:
getRowId in interface ExpandoValueModel

setRowId

public void setRowId(long rowId)
Specified by:
setRowId in interface ExpandoValueModel

getClassName

public String getClassName()
Specified by:
getClassName in interface ExpandoValueModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface ExpandoValueModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface ExpandoValueModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface ExpandoValueModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface ExpandoValueModel

getData

public String getData()
Specified by:
getData in interface ExpandoValueModel

setData

public void setData(String data)
Specified by:
setData in interface ExpandoValueModel

toEscapedModel

public ExpandoValue toEscapedModel()
Specified by:
toEscapedModel in interface ExpandoValueModel

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<ExpandoValue>
Specified by:
isNew in interface ExpandoValueModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<ExpandoValue>
Specified by:
setNew in interface ExpandoValueModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<ExpandoValue>
Specified by:
isCachedModel in interface ExpandoValueModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<ExpandoValue>
Specified by:
setCachedModel in interface ExpandoValueModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<ExpandoValue>
Specified by:
isEscapedModel in interface ExpandoValueModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<ExpandoValue>
Specified by:
setEscapedModel in interface ExpandoValueModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<ExpandoValue>
Specified by:
getPrimaryKeyObj in interface ExpandoValueModel
Returns:
the primary key

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<ExpandoValue>
Specified by:
getExpandoBridge in interface ExpandoValueModel
Returns:
the expando bridge

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<ExpandoValue>
Specified by:
setExpandoBridgeAttributes in interface ExpandoValueModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<ExpandoValue>
Specified by:
clone in interface ExpandoValueModel
Overrides:
clone in class Object
Returns:
the clone

compareTo

public int compareTo(ExpandoValue expandoValue)
Specified by:
compareTo in interface ExpandoValueModel
Specified by:
compareTo in interface Comparable<ExpandoValue>

hashCode

public int hashCode()
Specified by:
hashCode in interface ExpandoValueModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface ExpandoValueModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<ExpandoValue>
Specified by:
toXmlString in interface ExpandoValueModel
Returns:
the XML representation of this model instance

getBoolean

public boolean getBoolean()
                   throws PortalException,
                          SystemException
Specified by:
getBoolean in interface ExpandoValue
Throws:
PortalException
SystemException

getBooleanArray

public boolean[] getBooleanArray()
                          throws PortalException,
                                 SystemException
Specified by:
getBooleanArray in interface ExpandoValue
Throws:
PortalException
SystemException

getDate

public Date getDate()
             throws PortalException,
                    SystemException
Specified by:
getDate in interface ExpandoValue
Throws:
PortalException
SystemException

getDateArray

public Date[] getDateArray()
                    throws PortalException,
                           SystemException
Specified by:
getDateArray in interface ExpandoValue
Throws:
PortalException
SystemException

getDouble

public double getDouble()
                 throws PortalException,
                        SystemException
Specified by:
getDouble in interface ExpandoValue
Throws:
PortalException
SystemException

getDoubleArray

public double[] getDoubleArray()
                        throws PortalException,
                               SystemException
Specified by:
getDoubleArray in interface ExpandoValue
Throws:
PortalException
SystemException

getFloat

public float getFloat()
               throws PortalException,
                      SystemException
Specified by:
getFloat in interface ExpandoValue
Throws:
PortalException
SystemException

getFloatArray

public float[] getFloatArray()
                      throws PortalException,
                             SystemException
Specified by:
getFloatArray in interface ExpandoValue
Throws:
PortalException
SystemException

getInteger

public int getInteger()
               throws PortalException,
                      SystemException
Specified by:
getInteger in interface ExpandoValue
Throws:
PortalException
SystemException

getIntegerArray

public int[] getIntegerArray()
                      throws PortalException,
                             SystemException
Specified by:
getIntegerArray in interface ExpandoValue
Throws:
PortalException
SystemException

getLong

public long getLong()
             throws PortalException,
                    SystemException
Specified by:
getLong in interface ExpandoValue
Throws:
PortalException
SystemException

getLongArray

public long[] getLongArray()
                    throws PortalException,
                           SystemException
Specified by:
getLongArray in interface ExpandoValue
Throws:
PortalException
SystemException

getShort

public short getShort()
               throws PortalException,
                      SystemException
Specified by:
getShort in interface ExpandoValue
Throws:
PortalException
SystemException

getShortArray

public short[] getShortArray()
                      throws PortalException,
                             SystemException
Specified by:
getShortArray in interface ExpandoValue
Throws:
PortalException
SystemException

getString

public String getString()
                 throws PortalException,
                        SystemException
Specified by:
getString in interface ExpandoValue
Throws:
PortalException
SystemException

getStringArray

public String[] getStringArray()
                        throws PortalException,
                               SystemException
Specified by:
getStringArray in interface ExpandoValue
Throws:
PortalException
SystemException

setBoolean

public void setBoolean(boolean data)
                throws PortalException,
                       SystemException
Specified by:
setBoolean in interface ExpandoValue
Throws:
PortalException
SystemException

setBooleanArray

public void setBooleanArray(boolean[] data)
                     throws PortalException,
                            SystemException
Specified by:
setBooleanArray in interface ExpandoValue
Throws:
PortalException
SystemException

setDate

public void setDate(Date data)
             throws PortalException,
                    SystemException
Specified by:
setDate in interface ExpandoValue
Throws:
PortalException
SystemException

setDateArray

public void setDateArray(Date[] data)
                  throws PortalException,
                         SystemException
Specified by:
setDateArray in interface ExpandoValue
Throws:
PortalException
SystemException

setDouble

public void setDouble(double data)
               throws PortalException,
                      SystemException
Specified by:
setDouble in interface ExpandoValue
Throws:
PortalException
SystemException

setDoubleArray

public void setDoubleArray(double[] data)
                    throws PortalException,
                           SystemException
Specified by:
setDoubleArray in interface ExpandoValue
Throws:
PortalException
SystemException

setFloat

public void setFloat(float data)
              throws PortalException,
                     SystemException
Specified by:
setFloat in interface ExpandoValue
Throws:
PortalException
SystemException

setFloatArray

public void setFloatArray(float[] data)
                   throws PortalException,
                          SystemException
Specified by:
setFloatArray in interface ExpandoValue
Throws:
PortalException
SystemException

setInteger

public void setInteger(int data)
                throws PortalException,
                       SystemException
Specified by:
setInteger in interface ExpandoValue
Throws:
PortalException
SystemException

setIntegerArray

public void setIntegerArray(int[] data)
                     throws PortalException,
                            SystemException
Specified by:
setIntegerArray in interface ExpandoValue
Throws:
PortalException
SystemException

setLong

public void setLong(long data)
             throws PortalException,
                    SystemException
Specified by:
setLong in interface ExpandoValue
Throws:
PortalException
SystemException

setLongArray

public void setLongArray(long[] data)
                  throws PortalException,
                         SystemException
Specified by:
setLongArray in interface ExpandoValue
Throws:
PortalException
SystemException

setShort

public void setShort(short data)
              throws PortalException,
                     SystemException
Specified by:
setShort in interface ExpandoValue
Throws:
PortalException
SystemException

setShortArray

public void setShortArray(short[] data)
                   throws PortalException,
                          SystemException
Specified by:
setShortArray in interface ExpandoValue
Throws:
PortalException
SystemException

setString

public void setString(String data)
               throws PortalException,
                      SystemException
Specified by:
setString in interface ExpandoValue
Throws:
PortalException
SystemException

setStringArray

public void setStringArray(String[] data)
                    throws PortalException,
                           SystemException
Specified by:
setStringArray in interface ExpandoValue
Throws:
PortalException
SystemException

getWrappedExpandoValue

public ExpandoValue getWrappedExpandoValue()

Liferay 6.0.3