|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.caleigo.core.FieldRelation
Basic implementation of the IFieldRelation An IFieldRelation is allways an
agregate of an IEntityRelation that defines a link between two
IEntityRelation objects. The relation objects does combined with the
descriptor objects form a travesable graph.
This implementation of the IFieldRelation does not require that the classes
of the linked descriptors has been loaded and initialized. The purpose is
to avoid unnecesary expasions of the entire descriptor graph.
Constructor Summary | |
(package private) |
FieldRelation(IFieldDescriptor referenceFieldDescriptor,
IFieldDescriptor targetFieldDescriptor)
Constructor for FieldRelation. |
(package private) |
FieldRelation(IFieldDescriptor referenceFieldDescriptor,
java.lang.String targetEntityClassName,
java.lang.String targetFieldSourceName)
Constructor for FieldRelation. |
(package private) |
FieldRelation(java.lang.String referenceEntityClassName,
java.lang.String referenceFieldSourceName,
IFieldDescriptor targetFieldDescriptor)
Constructor for FieldRelation. |
(package private) |
FieldRelation(java.lang.String referenceEntityClassName,
java.lang.String referenceFieldSourceName,
java.lang.String targetEntityClassName,
java.lang.String targetFieldSourceName)
Constructor for FieldRelation. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
IEntityRelation |
getEntityRelation()
Access method that return the IEntityRelation that the called IFieldRelation is a part of. |
IFieldDescriptor |
getReferenceField()
Access method that return the IFieldDescriptor that is the source/reference field that addresses another field. |
IFieldDescriptor |
getTargetField()
Access method that return the IFieldDescriptor that is the target field that are addressed by the reference field. |
(package private) void |
setEntityRelation(IEntityRelation relation)
Mutation method with restricted access to avoid missuse. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
FieldRelation(java.lang.String referenceEntityClassName, java.lang.String referenceFieldSourceName, java.lang.String targetEntityClassName, java.lang.String targetFieldSourceName)
FieldRelation(IFieldDescriptor referenceFieldDescriptor, java.lang.String targetEntityClassName, java.lang.String targetFieldSourceName)
FieldRelation(java.lang.String referenceEntityClassName, java.lang.String referenceFieldSourceName, IFieldDescriptor targetFieldDescriptor)
FieldRelation(IFieldDescriptor referenceFieldDescriptor, IFieldDescriptor targetFieldDescriptor)
Method Detail |
public boolean equals(java.lang.Object obj)
public IEntityRelation getEntityRelation()
getEntityRelation
in interface IFieldRelation
public IFieldDescriptor getReferenceField()
getReferenceField
in interface IFieldRelation
public IFieldDescriptor getTargetField()
getTargetField
in interface IFieldRelation
void setEntityRelation(IEntityRelation relation)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |