|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.accesscontrol.attributes.AbstractValue<T>
T - the type of the value@Entity public abstract class AbstractValue<T>
represents the tripel of an AbstractAttribute, a User and the
value <T>.
| Constructor Summary | |
|---|---|
AbstractValue()
|
|
| Method Summary | |
|---|---|
abstract org.jdom.Element |
deserializeToJDOM()
returns an Element representing the value. |
abstract AbstractAttribute<T> |
getAttribute()
returns the attribute the value is associated with. |
User |
getUser()
returns the user the value is associated with. |
abstract T |
getValue()
returns the value the value is associated with. |
abstract void |
setAttribute(AbstractAttribute<T> a)
sets the attribute the value is associated with. |
void |
setUser(User u)
sets the user the value is associated with. |
abstract void |
setValue(T v)
sets the value the value is associated with. |
abstract java.lang.String |
toString()
attributes must return a suitable String representation. |
abstract void |
updateFromCommand(Command c)
updates the values from a given Command. |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractValue()
| Method Detail |
|---|
public abstract AbstractAttribute<T> getAttribute()
public abstract void setAttribute(AbstractAttribute<T> a)
a - the attribute to setpublic final User getUser()
public final void setUser(User u)
u - the user to setpublic abstract T getValue()
public abstract void setValue(T v)
v - the value to setpublic abstract org.jdom.Element deserializeToJDOM()
deserializeToJDOM in interface JDOMablepublic abstract void updateFromCommand(Command c)
Command.
c - the Commandpublic abstract java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||