Class AnnotatedBusinessObjectLight
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.persistence.business.AnnotatedBusinessObjectLight
-
public class AnnotatedBusinessObjectLight extends Object
When an object is related to another using a special relationship, the other side of the relationship can be retrieved using the method BusinessEntityManager.getSpecialAttribute or BusinessEntityManager.getSpecialAttributes. However, in some cases, the relationship itself has its own properties, and it's called an annotated relationship. In order to be able to retrieve not only the other side of the relationship, but also the annotated property, use this type.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description AnnotatedBusinessObjectLight(BusinessObjectLight theObject, Map<String,Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BusinessObjectLight
getObject()
Map<String,Object>
getProperties()
void
setObject(BusinessObjectLight theObject)
void
setProperties(Map<String,Object> properties)
-
-
-
Constructor Detail
-
AnnotatedBusinessObjectLight
public AnnotatedBusinessObjectLight(BusinessObjectLight theObject, Map<String,Object> properties)
-
-
Method Detail
-
getObject
public BusinessObjectLight getObject()
-
setObject
public void setObject(BusinessObjectLight theObject)
-
-