de.grogra.persistence
Class ManageableType.Field

java.lang.Object
  extended by de.grogra.reflect.MemberBase
      extended by de.grogra.persistence.PersistenceField
          extended by de.grogra.persistence.ManageableType.Field
All Implemented Interfaces:
Field, FieldChain, Member
Direct Known Subclasses:
ManageableType.ArrayComponent, Node.NType.Field, SCOType.Field
Enclosing class:
ManageableType

public abstract class ManageableType.Field
extends PersistenceField


Field Summary
static int DEFINES_SHARED
           
static int FCO
           
static int GETS_COPY
           
static int HIDDEN
           
static int OBJECT_CLASS_MASK
           
static int SCO
           
static int UNMANAGED
           
 
Fields inherited from class de.grogra.reflect.MemberBase
annots, declaringType, descriptor, modifiers, name
 
Fields inherited from interface de.grogra.reflect.Field
FIELD_0, INTERFACE_MODIFIERS, MODIFIERS
 
Fields inherited from interface de.grogra.reflect.Member
ABSTRACT, ACCESS_MODIFIERS, ARRAY, BRIDGE, CONSTANT, FINAL, INTERFACE, JAVA_MODIFIERS, LOCAL_CLASS, MIN_UNUSED_MODIFIER, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE
 
Constructor Summary
protected ManageableType.Field(java.lang.String name, int modifiers, Type type, Type componentType)
           
 
Method Summary
 IndirectField cast(Type type)
           
 IndirectField concat(PersistenceField field)
           
 boolean containsSCO()
           
 IndirectField getArrayChain(int dimensions)
          Returns a field chain starting with this, followed by dimensions array components.
 ManageableType.ArrayComponent getArrayComponent()
           
 boolean getBoolean(java.lang.Object object)
           
 boolean getBoolean(java.lang.Object o, int[] indices)
          Returns the value of a field.
 byte getByte(java.lang.Object object)
           
 byte getByte(java.lang.Object o, int[] indices)
          Returns the value of a field.
 char getChar(java.lang.Object object)
           
 char getChar(java.lang.Object o, int[] indices)
          Returns the value of a field.
 java.lang.Object getCloned(java.lang.Object object)
           
 double getDouble(java.lang.Object object)
           
 double getDouble(java.lang.Object o, int[] indices)
          Returns the value of a field.
 int getFieldId()
           
 float getFloat(java.lang.Object object)
           
 float getFloat(java.lang.Object o, int[] indices)
          Returns the value of a field.
 int getInt(java.lang.Object object)
           
 int getInt(java.lang.Object o, int[] indices)
          Returns the value of a field.
 ManageableType.Field getLastField()
           
 long getLong(java.lang.Object object)
           
 long getLong(java.lang.Object o, int[] indices)
          Returns the value of a field.
 java.lang.Number getMaxValue()
           
 java.lang.Number getMinValue()
           
 java.lang.Object getObject(java.lang.Object object)
           
 java.lang.Object getObject(java.lang.Object o, int[] indices)
          Returns the value of a field.
 Quantity getQuantity()
           
 int getSerializationMethod()
           
 PersistenceField getShallowSubchain(int begin)
           
 short getShort(java.lang.Object object)
           
 short getShort(java.lang.Object o, int[] indices)
          Returns the value of a field.
 ManageableType.Field getSubfield(int index)
           
 Type getType()
           
 void insertBoolean(java.lang.Object o, int[] indices, boolean value, Transaction t)
          Inserts the given value into an array.
 void insertByte(java.lang.Object o, int[] indices, byte value, Transaction t)
          Inserts the given value into an array.
 void insertChar(java.lang.Object o, int[] indices, char value, Transaction t)
          Inserts the given value into an array.
 void insertDouble(java.lang.Object o, int[] indices, double value, Transaction t)
          Inserts the given value into an array.
 void insertFloat(java.lang.Object o, int[] indices, float value, Transaction t)
          Inserts the given value into an array.
 void insertInt(java.lang.Object o, int[] indices, int value, Transaction t)
          Inserts the given value into an array.
 void insertLong(java.lang.Object o, int[] indices, long value, Transaction t)
          Inserts the given value into an array.
 void insertObject(java.lang.Object o, int[] indices, java.lang.Object value, Transaction t)
          Inserts the given value into an array.
 void insertShort(java.lang.Object o, int[] indices, short value, Transaction t)
          Inserts the given value into an array.
 boolean isArrayComponent()
           
 boolean isGetReturningCopy()
           
 int length()
           
 boolean overlaps(int[] tindices, FieldChain field, int[] findices)
           
protected  java.lang.Object readObject(java.lang.Object container, int index, PersistenceInput in)
           
 void removeBoolean(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeByte(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeChar(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeDouble(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeFloat(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeInt(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeLong(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeObject(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void removeShort(java.lang.Object o, int[] indices, Transaction t)
          Removes an element from an array.
 void setBoolean(java.lang.Object object, boolean value)
           
 void setBoolean(java.lang.Object o, int[] indices, boolean value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setByte(java.lang.Object object, byte value)
           
 void setByte(java.lang.Object o, int[] indices, byte value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setChar(java.lang.Object object, char value)
           
 void setChar(java.lang.Object o, int[] indices, char value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setDouble(java.lang.Object object, double value)
           
 void setDouble(java.lang.Object o, int[] indices, double value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setFloat(java.lang.Object object, float value)
           
 void setFloat(java.lang.Object o, int[] indices, float value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setInt(java.lang.Object object, int value)
           
 void setInt(java.lang.Object o, int[] indices, int value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setLong(java.lang.Object o, int[] indices, long value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setLong(java.lang.Object object, long value)
           
 void setMaxValue(java.lang.Number max)
           
 void setMinValue(java.lang.Number min)
           
 void setObject(java.lang.Object o, int[] indices, java.lang.Object value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setObject(java.lang.Object object, java.lang.Object value)
           
protected  void setObjectImpl(java.lang.Object object, java.lang.Object value)
           
 void setQuantity(Quantity q)
           
 void setShort(java.lang.Object o, int[] indices, short value, Transaction t)
          Sets the value of this field on the instance o using the given indices and t.
 void setShort(java.lang.Object object, short value)
           
 java.lang.String toString()
           
protected  void writeObject(java.lang.Object value, PersistenceOutput out)
           
 
Methods inherited from class de.grogra.persistence.PersistenceField
get, get, getField, isWritable, set
 
Methods inherited from class de.grogra.reflect.MemberBase
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDescriptor, getModifiers, getName, getSimpleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.grogra.reflect.Member
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getDescriptor, getModifiers, getName, getSimpleName
 

Field Detail

DEFINES_SHARED

public static final int DEFINES_SHARED
See Also:
Constant Field Values

FCO

public static final int FCO
See Also:
Constant Field Values

GETS_COPY

public static final int GETS_COPY
See Also:
Constant Field Values

HIDDEN

public static final int HIDDEN
See Also:
Constant Field Values

OBJECT_CLASS_MASK

public static final int OBJECT_CLASS_MASK
See Also:
Constant Field Values

SCO

public static final int SCO
See Also:
Constant Field Values

UNMANAGED

public static final int UNMANAGED
See Also:
Constant Field Values
Constructor Detail

ManageableType.Field

protected ManageableType.Field(java.lang.String name,
                               int modifiers,
                               Type type,
                               Type componentType)
Method Detail

cast

public IndirectField cast(Type type)

concat

public IndirectField concat(PersistenceField field)

containsSCO

public final boolean containsSCO()

getArrayChain

public final IndirectField getArrayChain(int dimensions)
Returns a field chain starting with this, followed by dimensions array components.

Parameters:
dimensions - the number of array components to append
Returns:
a field chain for an access of array components of this field

getArrayComponent

public final ManageableType.ArrayComponent getArrayComponent()

getBoolean

public boolean getBoolean(java.lang.Object object)

getBoolean

public boolean getBoolean(java.lang.Object o,
                          int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getBoolean in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getByte

public byte getByte(java.lang.Object object)

getByte

public byte getByte(java.lang.Object o,
                    int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getByte in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getChar

public char getChar(java.lang.Object object)

getChar

public char getChar(java.lang.Object o,
                    int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getChar in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getCloned

public final java.lang.Object getCloned(java.lang.Object object)
                                 throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getDouble

public double getDouble(java.lang.Object object)

getDouble

public double getDouble(java.lang.Object o,
                        int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getDouble in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getFieldId

public final int getFieldId()

getFloat

public float getFloat(java.lang.Object object)

getFloat

public float getFloat(java.lang.Object o,
                      int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getFloat in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getInt

public int getInt(java.lang.Object object)

getInt

public int getInt(java.lang.Object o,
                  int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getInt in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getLastField

public ManageableType.Field getLastField()
Specified by:
getLastField in class PersistenceField

getLong

public long getLong(java.lang.Object object)

getLong

public long getLong(java.lang.Object o,
                    int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getLong in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getMaxValue

public final java.lang.Number getMaxValue()
Specified by:
getMaxValue in class PersistenceField

getMinValue

public final java.lang.Number getMinValue()
Specified by:
getMinValue in class PersistenceField

getObject

public java.lang.Object getObject(java.lang.Object object)

getObject

public java.lang.Object getObject(java.lang.Object o,
                                  int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getObject in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getQuantity

public final Quantity getQuantity()
Specified by:
getQuantity in class PersistenceField

getSerializationMethod

public final int getSerializationMethod()

getShallowSubchain

public PersistenceField getShallowSubchain(int begin)
Specified by:
getShallowSubchain in class PersistenceField

getShort

public short getShort(java.lang.Object object)

getShort

public short getShort(java.lang.Object o,
                      int[] indices)
Description copied from class: PersistenceField
Returns the value of a field.

Specified by:
getShort in class PersistenceField
Parameters:
o - the instance for which the field value is returned
indices - the indices for array fields
Returns:
the field's value for the instance pc
See Also:
PersistenceField

getSubfield

public ManageableType.Field getSubfield(int index)
Specified by:
getSubfield in class PersistenceField

getType

public final Type getType()

insertBoolean

public void insertBoolean(java.lang.Object o,
                          int[] indices,
                          boolean value,
                          Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertBoolean in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertByte

public void insertByte(java.lang.Object o,
                       int[] indices,
                       byte value,
                       Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertByte in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertChar

public void insertChar(java.lang.Object o,
                       int[] indices,
                       char value,
                       Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertChar in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertDouble

public void insertDouble(java.lang.Object o,
                         int[] indices,
                         double value,
                         Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertDouble in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertFloat

public void insertFloat(java.lang.Object o,
                        int[] indices,
                        float value,
                        Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertFloat in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertInt

public void insertInt(java.lang.Object o,
                      int[] indices,
                      int value,
                      Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertInt in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertLong

public void insertLong(java.lang.Object o,
                       int[] indices,
                       long value,
                       Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertLong in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertObject

public void insertObject(java.lang.Object o,
                         int[] indices,
                         java.lang.Object value,
                         Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertObject in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

insertShort

public void insertShort(java.lang.Object o,
                        int[] indices,
                        short value,
                        Transaction t)
Description copied from class: PersistenceField
Inserts the given value into an array. This field has to be an array component indexed by indices. The new value will be inserted at the place of the indexed component.

Specified by:
insertShort in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the value to be inserted
t - transaction context
See Also:
PersistenceField

isArrayComponent

public final boolean isArrayComponent()

isGetReturningCopy

public boolean isGetReturningCopy()

length

public int length()

overlaps

public boolean overlaps(int[] tindices,
                        FieldChain field,
                        int[] findices)

readObject

protected java.lang.Object readObject(java.lang.Object container,
                                      int index,
                                      PersistenceInput in)
                               throws java.io.IOException
Throws:
java.io.IOException

removeBoolean

public void removeBoolean(java.lang.Object o,
                          int[] indices,
                          Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeBoolean in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeByte

public void removeByte(java.lang.Object o,
                       int[] indices,
                       Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeByte in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeChar

public void removeChar(java.lang.Object o,
                       int[] indices,
                       Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeChar in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeDouble

public void removeDouble(java.lang.Object o,
                         int[] indices,
                         Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeDouble in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeFloat

public void removeFloat(java.lang.Object o,
                        int[] indices,
                        Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeFloat in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeInt

public void removeInt(java.lang.Object o,
                      int[] indices,
                      Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeInt in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeLong

public void removeLong(java.lang.Object o,
                       int[] indices,
                       Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeLong in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeObject

public void removeObject(java.lang.Object o,
                         int[] indices,
                         Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeObject in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

removeShort

public void removeShort(java.lang.Object o,
                        int[] indices,
                        Transaction t)
Description copied from class: PersistenceField
Removes an element from an array. This field has to be an array component indexed by indices. The value at the indexed component will be removed.

Specified by:
removeShort in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
t - transaction context
See Also:
PersistenceField

setBoolean

public void setBoolean(java.lang.Object object,
                       boolean value)

setBoolean

public void setBoolean(java.lang.Object o,
                       int[] indices,
                       boolean value,
                       Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setBoolean in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setByte

public void setByte(java.lang.Object object,
                    byte value)

setByte

public void setByte(java.lang.Object o,
                    int[] indices,
                    byte value,
                    Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setByte in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setChar

public void setChar(java.lang.Object object,
                    char value)

setChar

public void setChar(java.lang.Object o,
                    int[] indices,
                    char value,
                    Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setChar in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setDouble

public void setDouble(java.lang.Object object,
                      double value)

setDouble

public void setDouble(java.lang.Object o,
                      int[] indices,
                      double value,
                      Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setDouble in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setFloat

public void setFloat(java.lang.Object object,
                     float value)

setFloat

public void setFloat(java.lang.Object o,
                     int[] indices,
                     float value,
                     Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setFloat in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setInt

public void setInt(java.lang.Object object,
                   int value)

setInt

public void setInt(java.lang.Object o,
                   int[] indices,
                   int value,
                   Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setInt in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setLong

public void setLong(java.lang.Object o,
                    int[] indices,
                    long value,
                    Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setLong in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setLong

public void setLong(java.lang.Object object,
                    long value)

setMaxValue

public final void setMaxValue(java.lang.Number max)

setMinValue

public final void setMinValue(java.lang.Number min)

setObject

public void setObject(java.lang.Object o,
                      int[] indices,
                      java.lang.Object value,
                      Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setObject in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setObject

public final void setObject(java.lang.Object object,
                            java.lang.Object value)

setObjectImpl

protected void setObjectImpl(java.lang.Object object,
                             java.lang.Object value)

setQuantity

public final void setQuantity(Quantity q)

setShort

public void setShort(java.lang.Object o,
                     int[] indices,
                     short value,
                     Transaction t)
Description copied from class: PersistenceField
Sets the value of this field on the instance o using the given indices and t.

Specified by:
setShort in class PersistenceField
Parameters:
o - the instance for which the field is modified
indices - the indices for array fields
value - the new value
t - transaction context
See Also:
PersistenceField

setShort

public void setShort(java.lang.Object object,
                     short value)

toString

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

writeObject

protected void writeObject(java.lang.Object value,
                           PersistenceOutput out)
                    throws java.io.IOException
Throws:
java.io.IOException