|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
javax.rad.type.bean.AbstractBean<C>
C - the bean class.public abstract class AbstractBean<C extends IBeanType>
The AbstractBean is an AbstractMap and the default IBean
implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary | |
|---|---|
protected C |
beanType
Stores the bean type. |
| Constructor Summary | |
|---|---|
protected |
AbstractBean(C pBeanType)
Creates a AbstractBean with a specific IBeanType. |
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of this bean. |
Set<Map.Entry<String,Object>> |
entrySet()
|
abstract Object |
get(int pPropertyIndex)
Gets the value of the property index. |
Object |
get(String pPropertyName)
Gets the value of the property name. |
C |
getBeanType()
Gets the property names available by this bean. |
void |
put(int pIndex,
Object pValue)
Sets the value of a property. |
Object |
put(String pPropertyName,
Object pValue)
Sets the value of the property name. |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected C extends IBeanType beanType
| Constructor Detail |
|---|
protected AbstractBean(C pBeanType)
AbstractBean with a specific IBeanType.
pBeanType - the bean type.| Method Detail |
|---|
public abstract Object get(int pPropertyIndex)
pPropertyIndex - the property index.
public C getBeanType()
getBeanType in interface IBeanpublic Object get(String pPropertyName)
get in interface IBeanpPropertyName - the property name.
public Object put(String pPropertyName,
Object pValue)
put in interface Map<String,Object>put in interface IBeanput in class AbstractMap<String,Object>pPropertyName - the property name.pValue - the value of the property name.
public Object clone()
clone in interface IBeanclone in class AbstractMap<String,Object>public Set<Map.Entry<String,Object>> entrySet()
entrySet in interface Map<String,Object>entrySet in class AbstractMap<String,Object>
public void put(int pIndex,
Object pValue)
pIndex - the property indexpValue - the value of the property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||