|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.wildcat.hierarchy.attribute.POJOAttribute
public class POJOAttribute
Attribute holding an object.
| Field Summary | |
|---|---|
protected Context |
context
|
protected Path |
path
|
protected java.lang.Object |
value
|
| Constructor Summary | |
|---|---|
POJOAttribute(java.lang.Object value)
Construct a new global POJOAttribute with a given initial value. |
|
POJOAttribute(WEventInterface.Scope scope,
java.lang.Object value)
Construct a new POJOAttribute with a given initial value and a given scope. |
|
| Method Summary | |
|---|---|
WEventInterface.Scope |
getScope()
|
java.lang.Object |
getValue()
|
boolean |
isMount()
|
void |
mount(Context context,
Path mountPoint)
Mount the Mountable. |
void |
setScope(WEventInterface.Scope scope)
Set the scope of the events generated when setting the value. |
java.lang.Object |
setValue(java.lang.Object value)
Set attribute's value. |
void |
unMount()
Unmount the Mountable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Context context
protected Path path
protected java.lang.Object value
| Constructor Detail |
|---|
public POJOAttribute(WEventInterface.Scope scope,
java.lang.Object value)
POJOAttribute with a given initial value and a given scope.
scope - the scope of the events generated when setting the valuevalue - the initial valuepublic POJOAttribute(java.lang.Object value)
POJOAttribute with a given initial value.
value - the initial value| Method Detail |
|---|
public java.lang.Object getValue()
getValue in interface Attributepublic java.lang.Object setValue(java.lang.Object value)
Attribute
setValue in interface Attributevalue - the new value
public WEventInterface.Scope getScope()
public void setScope(WEventInterface.Scope scope)
scope - the scope of the events generated when setting the valuepublic boolean isMount()
isMount in interface Mountable
public void mount(Context context,
Path mountPoint)
Mountable
mount in interface Mountablecontext - the context the Mountable is attachedmountPoint - the path to mount itpublic void unMount()
Mountable
unMount in interface Mountable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||