fr.improve.xdi.mapping
Interface EnterpriseObject

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
EnterpriseObjectImpl, EnterpriseObjectImpl

public interface EnterpriseObject
extends java.io.Serializable

Interface implemented for each mapping tool Used to define a database object

Author:
Sébastien Letélié

Method Summary
 void addObjectToBothSidesOfRelationshipWithKey(EnterpriseObject enterpriseobject, java.lang.String s)
           
 java.util.Set attributes()
           
 java.lang.Object baseObject()
           
 java.util.Set keys()
           
 java.lang.String name()
           
 void removeObjectFromBothSidesOfRelationshipWithKey(EnterpriseObject enterpriseobject, java.lang.String s)
           
 void takeValueForKey(java.lang.Object obj, java.lang.String s)
           
 java.util.Set toManyAttributes()
           
 java.util.Set toManyKeys()
           
 java.util.Set toOneAttributes()
           
 java.util.Set toOneKeys()
           
 java.lang.Object valueForKey(java.lang.String s)
           
 

Method Detail

valueForKey

public java.lang.Object valueForKey(java.lang.String s)
                             throws InvocationTargetKeyException,
                                    UnknownKeyException
Throws:
InvocationTargetKeyException
UnknownKeyException

takeValueForKey

public void takeValueForKey(java.lang.Object obj,
                            java.lang.String s)
                     throws InvocationTargetKeyException,
                            UnknownKeyException
Throws:
InvocationTargetKeyException
UnknownKeyException

name

public java.lang.String name()

keys

public java.util.Set keys()

toOneKeys

public java.util.Set toOneKeys()

toManyKeys

public java.util.Set toManyKeys()

attributes

public java.util.Set attributes()

toOneAttributes

public java.util.Set toOneAttributes()

toManyAttributes

public java.util.Set toManyAttributes()

baseObject

public java.lang.Object baseObject()

addObjectToBothSidesOfRelationshipWithKey

public void addObjectToBothSidesOfRelationshipWithKey(EnterpriseObject enterpriseobject,
                                                      java.lang.String s)
                                               throws InvocationTargetKeyException,
                                                      UnknownKeyException
Throws:
InvocationTargetKeyException
UnknownKeyException

removeObjectFromBothSidesOfRelationshipWithKey

public void removeObjectFromBothSidesOfRelationshipWithKey(EnterpriseObject enterpriseobject,
                                                           java.lang.String s)
                                                    throws InvocationTargetKeyException,
                                                           UnknownKeyException
Throws:
InvocationTargetKeyException
UnknownKeyException


Copyright © 2004-2005 Improve. All Rights Reserved.