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

MappedPreference - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.impl.preferences
Class MappedPreference

java.lang.Object
  extended byorg.jboss.portal.core.impl.preferences.MappedPreference
Direct Known Subclasses:
PreferenceImpl, PreferenceImpl

public class MappedPreference
extends java.lang.Object


Constructor Summary
MappedPreference()
           
MappedPreference(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String[] getStrings()
           
 int getType()
           
 Value getValue()
           
 boolean isReadOnly()
          By default it's never read only.
 void setName(java.lang.String name)
          Called by hibernate.
 void setStrings(java.lang.String[] strings)
          Called by hibernate.
 void setType(int type)
          Called by hibernate.
protected  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
 

Constructor Detail

MappedPreference

public MappedPreference()

MappedPreference

public MappedPreference(java.lang.String name)
Method Detail

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.


getStrings

public java.lang.String[] getStrings()

setValue

protected void setValue(Value value)

setStrings

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


getValue

public Value getValue()

isReadOnly

public boolean isReadOnly()
By default it's never read only. Subclasses may provide custom behaviour here.


toString

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