|
|
|
|
|
||||||||||
| 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<java.lang.Boolean>
org.torweg.pulse.accesscontrol.attributes.BooleanValue
@Entity public class BooleanValue
represents a boolean value.
| Constructor Summary | |
|---|---|
protected |
BooleanValue()
Deprecated. |
|
BooleanValue(boolean v)
creates a StringValue form a given string value. |
| Method Summary | |
|---|---|
org.jdom.Element |
deserializeToJDOM()
returns an Element representing the value. |
AbstractAttribute<java.lang.Boolean> |
getAttribute()
returns the attribute the value is associated with. |
java.lang.Boolean |
getValue()
returns the value. |
void |
setAttribute(AbstractAttribute<java.lang.Boolean> a)
sets the attribute the value is associated with. |
void |
setValue(java.lang.Boolean v)
sets the value. |
java.lang.String |
toString()
attributes must return a suitable String representation. |
void |
updateFromCommand(Command c)
updates the values from a given Command. |
| Methods inherited from class org.torweg.pulse.accesscontrol.attributes.AbstractValue |
|---|
getUser, setUser |
| 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 |
|---|
@Deprecated protected BooleanValue()
public BooleanValue(boolean v)
StringValue form a given string value.
v - the value| Method Detail |
|---|
public final java.lang.Boolean getValue()
getValue in class AbstractValue<java.lang.Boolean>AbstractValue.getValue()public final void setValue(java.lang.Boolean v)
setValue in class AbstractValue<java.lang.Boolean>v - the value to setAbstractValue.setValue(java.lang.Object)public final AbstractAttribute<java.lang.Boolean> getAttribute()
getAttribute in class AbstractValue<java.lang.Boolean>public final void setAttribute(AbstractAttribute<java.lang.Boolean> a)
setAttribute in class AbstractValue<java.lang.Boolean>a - the attribute to associate the value withpublic void updateFromCommand(Command c)
Command.
updateFromCommand in class AbstractValue<java.lang.Boolean>c - the Commandpublic org.jdom.Element deserializeToJDOM()
deserializeToJDOM in interface JDOMabledeserializeToJDOM in class AbstractValue<java.lang.Boolean>public java.lang.String toString()
AbstractValue
toString in class AbstractValue<java.lang.Boolean>AbstractValue.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||