fr.improve.xdi.mapping.hibernate
Class EnterpriseObjectImpl
java.lang.Object
fr.improve.xdi.mapping.hibernate.EnterpriseObjectImpl
- All Implemented Interfaces:
- java.lang.Comparable, EnterpriseObject, java.io.Serializable
- public class EnterpriseObjectImpl
- extends java.lang.Object
- implements EnterpriseObject, java.lang.Comparable
EnterpriseObject implementation for Hibernate
NOTE :
Actually you must extends hibernate database objects with EnterpriseContextImpl
It will change in future version
- Author:
- Sébastien Letélié
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnterpriseObjectImpl
public EnterpriseObjectImpl()
baseObject
public java.lang.Object baseObject()
- Specified by:
baseObject in interface EnterpriseObject
attributes
public java.util.Set attributes()
- Specified by:
attributes in interface EnterpriseObject
toOneAttributes
public java.util.Set toOneAttributes()
- Specified by:
toOneAttributes in interface EnterpriseObject
toManyAttributes
public java.util.Set toManyAttributes()
- Specified by:
toManyAttributes in interface EnterpriseObject
keys
public java.util.Set keys()
- Specified by:
keys in interface EnterpriseObject
_keys
public java.util.Map _keys()
toOneKeys
public java.util.Set toOneKeys()
- Specified by:
toOneKeys in interface EnterpriseObject
_toOneKeys
public java.util.Map _toOneKeys()
toManyKeys
public java.util.Set toManyKeys()
- Specified by:
toManyKeys in interface EnterpriseObject
_toManyKeys
public java.util.Map _toManyKeys()
name
public java.lang.String name()
- Specified by:
name in interface EnterpriseObject
keyName
protected java.lang.String keyName(EnterpriseObject in_object)
addObjectToBothSidesOfRelationshipWithKey
public void addObjectToBothSidesOfRelationshipWithKey(EnterpriseObject in_object,
java.lang.String in_key)
throws InvocationTargetKeyException,
UnknownKeyException
- Specified by:
addObjectToBothSidesOfRelationshipWithKey in interface EnterpriseObject
- Throws:
InvocationTargetKeyException
UnknownKeyException
removeObjectFromBothSidesOfRelationshipWithKey
public void removeObjectFromBothSidesOfRelationshipWithKey(EnterpriseObject in_object,
java.lang.String in_key)
throws InvocationTargetKeyException,
UnknownKeyException
- Specified by:
removeObjectFromBothSidesOfRelationshipWithKey in interface EnterpriseObject
- Throws:
InvocationTargetKeyException
UnknownKeyException
takeValueForKey
public void takeValueForKey(java.lang.Object in_value,
java.lang.String in_key)
throws InvocationTargetKeyException,
UnknownKeyException
- Specified by:
takeValueForKey in interface EnterpriseObject
- Throws:
InvocationTargetKeyException
UnknownKeyException
valueForKey
public java.lang.Object valueForKey(java.lang.String in_key)
throws InvocationTargetKeyException,
UnknownKeyException
- Specified by:
valueForKey in interface EnterpriseObject
- Throws:
InvocationTargetKeyException
UnknownKeyException
equals
public boolean equals(java.lang.Object in_obj)
assertValue
protected boolean assertValue(java.lang.Object in_value,
java.lang.String in_key)
throws InvocationTargetKeyException,
UnknownKeyException
- Throws:
InvocationTargetKeyException
UnknownKeyException
compareTo
public int compareTo(java.lang.Object in_obj)
- Specified by:
compareTo in interface java.lang.Comparable
Copyright © 2004-2005 Improve. All Rights Reserved.