|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<java.lang.String,java.lang.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 class java.util.AbstractMap |
|---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.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 | |
|---|---|
java.lang.Object |
clone()
Returns a clone of this bean. |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
entrySet()
|
abstract java.lang.Object |
get(int pPropertyIndex)
Gets the value of the property index. |
java.lang.Object |
get(java.lang.String pPropertyName)
Gets the value of the property name. |
C |
getBeanType()
Gets the property names available by this bean. |
void |
put(int pIndex,
java.lang.Object pValue)
Sets the value of a property. |
java.lang.Object |
put(java.lang.String pPropertyName,
java.lang.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 |
| Methods inherited from interface javax.rad.type.bean.IBean |
|---|
putAll |
| 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 java.lang.Object get(int pPropertyIndex)
pPropertyIndex - the property index.
public C getBeanType()
getBeanType in interface IBeanpublic java.lang.Object get(java.lang.String pPropertyName)
get in interface IBeanpPropertyName - the property name.
public java.lang.Object put(java.lang.String pPropertyName,
java.lang.Object pValue)
put in interface java.util.Map<java.lang.String,java.lang.Object>put in interface IBeanput in class java.util.AbstractMap<java.lang.String,java.lang.Object>pPropertyName - the property name.pValue - the value of the property name.
public java.lang.Object clone()
clone in interface IBeanclone in class java.util.AbstractMap<java.lang.String,java.lang.Object>public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
entrySet in interface java.util.Map<java.lang.String,java.lang.Object>entrySet in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public void put(int pIndex,
java.lang.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 | |||||||||