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é
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.