当前页面:
在线文档首页 >
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
org.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.
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 |
propertyName
private final java.lang.String propertyName
writable
private final boolean writable
field
private final java.lang.reflect.Field field
User22Impl.PropertyAccessor
public User22Impl.PropertyAccessor(java.lang.String propertyName,
java.lang.String fieldName,
boolean writable)
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()