org.castor.persist

Class ProposedObject

public final class ProposedObject extends Object

Holding structure for information about the class instance being loaded by internal classes, revealing what class was suggested, what class actually got loaded, etc.

Since: 0.9.9

Version: $Revision: 1.3 $ $Date: 2005/09/05 20:38:30 $

Author: Werner Guttmann

Method Summary
ClassgetActualClass()
Returns the actual Class instance.
ClassMoldergetActualClassMolder()
Returns the ClassMolder associated with the actual object.
Object[]getFields()
Returns the fields of the object in question.
ObjectgetObject()
Returns the object.
ClassgetProposedClass()
Returns the proposed Class instance.
booleanisExpanded()
True if the proposed class has been expanded.
booleanisObjectLockObjectToBeIgnored()
voidsetActualClass(Class actualClass)
Sets the actual Class instance.
voidsetActualClassMolder(ClassMolder actualClassMolder)
Sets the ClassMolder associated with the actual object.
voidsetExpanded(boolean isExpanded)
Set to true if the proposed class has been expanded.
voidsetFields(Object[] fields)
Sets the fields of the object in question.
voidsetObject(Object object)
Sets the object.
voidsetObjectLockObjectToBeIgnored(boolean lockObjectToBeIgnored)
voidsetProposedClass(Class proposedClass)
Sets the proposed Class instance.
StringtoString()

Method Detail

getActualClass

public Class getActualClass()
Returns the actual Class instance.

Returns: The actualClass.

getActualClassMolder

public ClassMolder getActualClassMolder()
Returns the ClassMolder associated with the actual object.

Returns: The actual ClassMolder.

getFields

public Object[] getFields()
Returns the fields of the object in question.

Returns: Returns the fields.

getObject

public Object getObject()
Returns the object.

Returns: The object.

getProposedClass

public Class getProposedClass()
Returns the proposed Class instance.

Returns: The proposedClass.

isExpanded

public boolean isExpanded()
True if the proposed class has been expanded.

Returns: true if class is expanded, false otherwise.

isObjectLockObjectToBeIgnored

public boolean isObjectLockObjectToBeIgnored()

setActualClass

public void setActualClass(Class actualClass)
Sets the actual Class instance.

Parameters: actualClass The actualClass to set.

setActualClassMolder

public void setActualClassMolder(ClassMolder actualClassMolder)
Sets the ClassMolder associated with the actual object.

Parameters: actualClassMolder The ClassMolder associated with the actual object.

setExpanded

public void setExpanded(boolean isExpanded)
Set to true if the proposed class has been expanded.

Parameters: isExpanded The isExpanded to set.

setFields

public void setFields(Object[] fields)
Sets the fields of the object in question.

Parameters: fields The fields to set.

setObject

public void setObject(Object object)
Sets the object.

Parameters: object The object to set.

setObjectLockObjectToBeIgnored

public void setObjectLockObjectToBeIgnored(boolean lockObjectToBeIgnored)

setProposedClass

public void setProposedClass(Class proposedClass)
Sets the proposed Class instance.

Parameters: proposedClass The proposedClass to set.

toString

public String toString()

See Also: java.lang.Object#toString()

Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com