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

User22Impl.PropertyAccessor - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.migration.model22.impl.user
Class User22Impl.PropertyAccessor

java.lang.Object
  extended byorg.jboss.portal.migration.model22.impl.user.User22Impl.PropertyAccessor
Enclosing class:
User22Impl

static class User22Impl.PropertyAccessor
extends java.lang.Object

An accessor that maps a user field to a property name.


Field Summary
private  java.lang.reflect.Field field
           
private  java.lang.String propertyName
           
private  boolean writable
           
 
Constructor Summary
User22Impl.PropertyAccessor(java.lang.String propertyName, java.lang.String fieldName, boolean writable)
           
 
Method Summary
 java.lang.String get(java.lang.Object instance)
           
 java.lang.String getPropertyName()
           
 boolean isWritable()
           
 void set(java.lang.Object instance, java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

propertyName

private final java.lang.String propertyName

writable

private final boolean writable

field

private final java.lang.reflect.Field field
Constructor Detail

User22Impl.PropertyAccessor

public User22Impl.PropertyAccessor(java.lang.String propertyName,
                                   java.lang.String fieldName,
                                   boolean writable)
Method Detail

getPropertyName

public java.lang.String getPropertyName()

isWritable

public boolean isWritable()

set

public void set(java.lang.Object instance,
                java.lang.String value)
         throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

get

public java.lang.String get(java.lang.Object instance)

toString

public java.lang.String toString()