Liferay 6.0.5

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()
          Gets the class name of the model instance this expando value is polymorphically associated with.
 long getClassNameId()
          Gets the class name id of this expando value.
 long getClassPK()
          Gets the class p k of this expando value.
 long getColumnId()
          Gets the column id of this expando value.
 long getCompanyId()
          Gets the company id of this expando value.
 String getData()
          Gets the data of this expando value.
 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()
          Gets the primary key of this expando value.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getRowId()
          Gets the row id of this expando value.
 short getShort()
           
 short[] getShortArray()
           
 String getString()
           
 String[] getStringArray()
           
 long getTableId()
          Gets the table id of this expando value.
 long getValueId()
          Gets the value id of this expando value.
 ExpandoValue getWrappedExpandoValue()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 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)
          Sets the class name id of this expando value.
 void setClassPK(long classPK)
          Sets the class p k of this expando value.
 void setColumnId(long columnId)
          Sets the column id of this expando value.
 void setCompanyId(long companyId)
          Sets the company id of this expando value.
 void setData(String data)
          Sets the data of this expando value.
 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 is escaped, meaning that all strings returned from getter methods are HTML safe.
 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)
          Sets the primary key of this expando value
 void setRowId(long rowId)
          Sets the row id of this expando value.
 void setShort(short data)
           
 void setShortArray(short[] data)
           
 void setString(String data)
           
 void setStringArray(String[] data)
           
 void setTableId(long tableId)
          Sets the table id of this expando value.
 void setValueId(long valueId)
          Sets the value id of this expando value.
 ExpandoValue toEscapedModel()
          Gets a copy of this expando value as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 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()
Description copied from interface: ExpandoValueModel
Gets the primary key of this expando value.

Specified by:
getPrimaryKey in interface ExpandoValueModel
Returns:
the primary key of this expando value

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: ExpandoValueModel
Sets the primary key of this expando value

Specified by:
setPrimaryKey in interface ExpandoValueModel
Parameters:
pk - the primary key of this expando value

getValueId

public long getValueId()
Description copied from interface: ExpandoValueModel
Gets the value id of this expando value.

Specified by:
getValueId in interface ExpandoValueModel
Returns:
the value id of this expando value

setValueId

public void setValueId(long valueId)
Description copied from interface: ExpandoValueModel
Sets the value id of this expando value.

Specified by:
setValueId in interface ExpandoValueModel
Parameters:
valueId - the value id of this expando value

getCompanyId

public long getCompanyId()
Description copied from interface: ExpandoValueModel
Gets the company id of this expando value.

Specified by:
getCompanyId in interface ExpandoValueModel
Returns:
the company id of this expando value

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: ExpandoValueModel
Sets the company id of this expando value.

Specified by:
setCompanyId in interface ExpandoValueModel
Parameters:
companyId - the company id of this expando value

getTableId

public long getTableId()
Description copied from interface: ExpandoValueModel
Gets the table id of this expando value.

Specified by:
getTableId in interface ExpandoValueModel
Returns:
the table id of this expando value

setTableId

public void setTableId(long tableId)
Description copied from interface: ExpandoValueModel
Sets the table id of this expando value.

Specified by:
setTableId in interface ExpandoValueModel
Parameters:
tableId - the table id of this expando value

getColumnId

public long getColumnId()
Description copied from interface: ExpandoValueModel
Gets the column id of this expando value.

Specified by:
getColumnId in interface ExpandoValueModel
Returns:
the column id of this expando value

setColumnId

public void setColumnId(long columnId)
Description copied from interface: ExpandoValueModel
Sets the column id of this expando value.

Specified by:
setColumnId in interface ExpandoValueModel
Parameters:
columnId - the column id of this expando value

getRowId

public long getRowId()
Description copied from interface: ExpandoValueModel
Gets the row id of this expando value.

Specified by:
getRowId in interface ExpandoValueModel
Returns:
the row id of this expando value

setRowId

public void setRowId(long rowId)
Description copied from interface: ExpandoValueModel
Sets the row id of this expando value.

Specified by:
setRowId in interface ExpandoValueModel
Parameters:
rowId - the row id of this expando value

getClassName

public String getClassName()
Description copied from interface: ExpandoValueModel
Gets the class name of the model instance this expando value is polymorphically associated with.

Specified by:
getClassName in interface ExpandoValueModel
Returns:
the class name of the model instance this expando value is polymorphically associated with

getClassNameId

public long getClassNameId()
Description copied from interface: ExpandoValueModel
Gets the class name id of this expando value.

Specified by:
getClassNameId in interface ExpandoValueModel
Returns:
the class name id of this expando value

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: ExpandoValueModel
Sets the class name id of this expando value.

Specified by:
setClassNameId in interface ExpandoValueModel
Parameters:
classNameId - the class name id of this expando value

getClassPK

public long getClassPK()
Description copied from interface: ExpandoValueModel
Gets the class p k of this expando value.

Specified by:
getClassPK in interface ExpandoValueModel
Returns:
the class p k of this expando value

setClassPK

public void setClassPK(long classPK)
Description copied from interface: ExpandoValueModel
Sets the class p k of this expando value.

Specified by:
setClassPK in interface ExpandoValueModel
Parameters:
classPK - the class p k of this expando value

getData

public String getData()
Description copied from interface: ExpandoValueModel
Gets the data of this expando value.

Specified by:
getData in interface ExpandoValueModel
Returns:
the data of this expando value

setData

public void setData(String data)
Description copied from interface: ExpandoValueModel
Sets the data of this expando value.

Specified by:
setData in interface ExpandoValueModel
Parameters:
data - the data of this expando value

toEscapedModel

public ExpandoValue toEscapedModel()
Description copied from interface: ExpandoValueModel
Gets a copy of this expando value as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface ExpandoValueModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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 is escaped.

Specified by:
isEscapedModel in interface BaseModel<ExpandoValue>
Specified by:
isEscapedModel in interface ExpandoValueModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it 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 is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<ExpandoValue>
Specified by:
getPrimaryKeyObj in interface ExpandoValueModel
Returns:
the primary key of this model instance

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 for this model instance

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 shallow clone of this model instance

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.5