站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PersistentStateEntry - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.impl.portlet.state
Class PersistentStateEntry

java.lang.Object
  extended byorg.jboss.portal.core.impl.portlet.state.PersistentStateEntry
All Implemented Interfaces:
java.io.Serializable

public class PersistentStateEntry
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 5448 $
Author:
Julien Viet
See Also:
Serialized Form

Field Summary
private  boolean dirty
           
private  java.lang.Long key
          The primary key.
private  java.lang.String name
          The name.
private  boolean readOnly
          The access mode.
private  java.lang.String[] strings
          The preference values.
private  int type
          The preference type.
private  Value value
          The value implementation.
 
Constructor Summary
PersistentStateEntry()
           
PersistentStateEntry(java.lang.String name, Value value)
           
 
Method Summary
 java.lang.Long getKey()
           
 java.lang.String getName()
           
 java.lang.String[] getStrings()
           
 int getType()
           
 Value getValue()
           
 boolean isReadOnly()
           
 void setKey(java.lang.Long key)
           
 void setName(java.lang.String name)
          Called by hibernate.
 void setReadOnly(boolean readOnly)
           
 void setStrings(java.lang.String[] strings)
          Called by hibernate.
 void setType(int type)
          Called by hibernate.
 void setValue(Value value)
           
 java.lang.String toString()
          Provide a default impl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

private java.lang.Long key
The primary key.


name

private java.lang.String name
The name.


readOnly

private boolean readOnly
The access mode.


type

private int type
The preference type.


strings

private java.lang.String[] strings
The preference values.


value

private Value value
The value implementation.


dirty

private boolean dirty
Constructor Detail

PersistentStateEntry

public PersistentStateEntry()

PersistentStateEntry

public PersistentStateEntry(java.lang.String name,
                            Value value)
Method Detail

getKey

public java.lang.Long getKey()

setKey

public void setKey(java.lang.Long key)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)
Called by hibernate.


getType

public int getType()

setType

public void setType(int type)
Called by hibernate.


isReadOnly

public boolean isReadOnly()

setReadOnly

public void setReadOnly(boolean readOnly)

getStrings

public java.lang.String[] getStrings()

setStrings

public void setStrings(java.lang.String[] strings)
Called by hibernate.


getValue

public Value getValue()

setValue

public void setValue(Value value)

toString

public java.lang.String toString()
Provide a default impl.