org.castor.persist
Class ProposedObject

java.lang.Object
  extended by org.castor.persist.ProposedObject

public final class ProposedObject
extends java.lang.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

Constructor Summary
ProposedObject()
           
 
Method Summary
 java.lang.Class getActualClass()
          Returns the actual Class instance.
 ClassMolder getActualClassMolder()
          Returns the ClassMolder associated with the actual object.
 java.lang.Object[] getFields()
          Returns the fields of the object in question.
 java.lang.Object getObject()
          Returns the object.
 java.lang.Class getProposedClass()
          Returns the proposed Class instance.
 boolean isExpanded()
          True if the proposed class has been expanded.
 boolean isObjectLockObjectToBeIgnored()
           
 void setActualClass(java.lang.Class actualClass)
          Sets the actual Class instance.
 void setActualClassMolder(ClassMolder actualClassMolder)
          Sets the ClassMolder associated with the actual object.
 void setExpanded(boolean isExpanded)
          Set to true if the proposed class has been expanded.
 void setFields(java.lang.Object[] fields)
          Sets the fields of the object in question.
 void setObject(java.lang.Object object)
          Sets the object.
 void setObjectLockObjectToBeIgnored(boolean lockObjectToBeIgnored)
           
 void setProposedClass(java.lang.Class proposedClass)
          Sets the proposed Class instance.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProposedObject

public ProposedObject()
Method Detail

getFields

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

Returns:
Returns the fields.

setFields

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

Parameters:
fields - The fields to set.

getObject

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

Returns:
The object.

setObject

public void setObject(java.lang.Object object)
Sets the object.

Parameters:
object - The object to set.

isExpanded

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

Returns:
true if class is expanded, false otherwise.

setExpanded

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

Parameters:
isExpanded - The isExpanded to set.

getProposedClass

public java.lang.Class getProposedClass()
Returns the proposed Class instance.

Returns:
The proposedClass.

setProposedClass

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

Parameters:
proposedClass - The proposedClass to set.

getActualClass

public java.lang.Class getActualClass()
Returns the actual Class instance.

Returns:
The actualClass.

setActualClass

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

Parameters:
actualClass - The actualClass to set.

getActualClassMolder

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

Returns:
The actual ClassMolder.

setActualClassMolder

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

Parameters:
actualClassMolder - The ClassMolder associated with the actual object.

toString

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

isObjectLockObjectToBeIgnored

public boolean isObjectLockObjectToBeIgnored()

setObjectLockObjectToBeIgnored

public void setObjectLockObjectToBeIgnored(boolean lockObjectToBeIgnored)


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