unity.annotation
Class AttributeValueSource

java.lang.Object
  extended by unity.annotation.AttributeValueSource

public class AttributeValueSource
extends java.lang.Object


Constructor Summary
AttributeValueSource(java.lang.Object val, GQDatabaseRef src)
           
 
Method Summary
 GQDatabaseRef getSource()
           
 java.lang.Object getValue()
           
 void setSource(GQDatabaseRef source)
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeValueSource

public AttributeValueSource(java.lang.Object val,
                            GQDatabaseRef src)
Method Detail

getSource

public GQDatabaseRef getSource()
Returns:
Returns the database source.

setSource

public void setSource(GQDatabaseRef source)
Parameters:
source - the database source.

getValue

public java.lang.Object getValue()
Returns:
Returns the attribute value.

setValue

public void setValue(java.lang.Object value)
Parameters:
value - The value to set for the attribute

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object