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

MappedPreference - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.migration.model22.impl.preferences
Class MappedPreference

java.lang.Object
  extended byorg.jboss.portal.migration.model22.impl.preferences.MappedPreference
Direct Known Subclasses:
InstancePreference22Impl, UserPreference22Impl

public class MappedPreference
extends java.lang.Object

Version:
$Revision: 5449 $
Author:
Julien Viet

Field Summary
private  boolean dirty
           
private static java.lang.String[] EMPTY_STRING_ARRAY
           
private static Value EMPTY_VALUE
           
 java.lang.String name
          The name.
 java.lang.String[] strings
          The preference values.
 int type
          The preference type.
private  Value value
          The value implementation.
 
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.
 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

EMPTY_STRING_ARRAY

private static final java.lang.String[] EMPTY_STRING_ARRAY

EMPTY_VALUE

private static final Value EMPTY_VALUE

name

public java.lang.String name
The name.


type

public int type
The preference type.


strings

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


value

private Value value
The value implementation.


dirty

private boolean dirty
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

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