public final class ProposedEntity
extends java.lang.Object
Constructor | Description |
---|---|
ProposedEntity() |
Creates an default instance.
|
ProposedEntity(ProposedEntity proposedEntity) |
Creates an instance of this class based upon the values passed in.
|
ProposedEntity(ClassMolder actualClassMolder) |
Modifier and Type | Method | Description |
---|---|---|
ClassMolder |
getActualClassMolder() |
Returns the ClassMolder associated with the actual object.
|
java.lang.Class |
getActualEntityClass() |
Returns the actual Class instance.
|
java.lang.Object |
getEntity() |
Returns the object.
|
java.lang.Object |
getField(int index) |
Returns the specified field value of the object in question.
|
java.lang.Object[] |
getFields() |
Returns the fields of the object in question.
|
int |
getNumberOfFields() |
Indicates the number of field values set for this entity.
|
java.lang.Class |
getProposedEntityClass() |
Returns the proposed Class instance.
|
void |
initializeFields(int numberOfFields) |
Initialize field values to the specified number.
|
boolean |
isExpanded() |
True if the proposed class has been expanded.
|
boolean |
isFieldsSet() |
Indicates whether the fields are set, i.e.
|
void |
setActualClassMolder(ClassMolder actualClassMolder) |
Sets the ClassMolder associated with the actual object.
|
void |
setActualEntityClass(java.lang.Class actualClass) |
Sets the actual Class instance.
|
void |
setEntity(java.lang.Object entity) |
Sets the object.
|
void |
setExpanded(boolean isExpanded) |
Set to true if the proposed class has been expanded.
|
void |
setField(java.lang.Object field,
int index) |
Sets the specified field of the object in question.
|
void |
setFields(java.lang.Object[] fields) |
Sets the fields of the object in question.
|
void |
setProposedEntityClass(java.lang.Class proposedClass) |
Sets the proposed Class instance.
|
java.lang.String |
toString() |
public ProposedEntity()
public ProposedEntity(ClassMolder actualClassMolder)
public ProposedEntity(ProposedEntity proposedEntity)
proposedEntity
- The entity instance to be copied.public void initializeFields(int numberOfFields)
numberOfFields
- Number of the field values to be created.public java.lang.Object[] getFields()
public java.lang.Object getField(int index)
index
- Index of the field to be returned.public boolean isFieldsSet()
public int getNumberOfFields()
public void setFields(java.lang.Object[] fields)
fields
- The fields to set.public void setField(java.lang.Object field, int index)
field
- The field value to set.index
- Specifies which field to set.public java.lang.Object getEntity()
public void setEntity(java.lang.Object entity)
entity
- The object to set.public boolean isExpanded()
true
if class is expanded, false
otherwise.public void setExpanded(boolean isExpanded)
isExpanded
- The isExpanded to set.public java.lang.Class getProposedEntityClass()
public void setProposedEntityClass(java.lang.Class proposedClass)
proposedClass
- The proposedClass to set.public java.lang.Class getActualEntityClass()
public void setActualEntityClass(java.lang.Class actualClass)
actualClass
- The actualClass to set.public ClassMolder getActualClassMolder()
public void setActualClassMolder(ClassMolder actualClassMolder)
actualClassMolder
- The ClassMolder associated with the actual object.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com