Class BusinessObjectUtil
- java.lang.Object
-
- org.neotropic.util.visual.views.util.BusinessObjectUtil
-
public class BusinessObjectUtil extends Object
Set of methods commonly used by the business objects in views.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description BusinessObjectUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getBusinessObjectColor(BusinessObjectLight objectLight, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem)
Gets the object color.
-
-
-
Method Detail
-
getBusinessObjectColor
public static String getBusinessObjectColor(BusinessObjectLight objectLight, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem) throws InventoryException
Gets the object color. The object color can be:The value of the attribute value of type String of the list type item ColorType as the color attribute of the object. The value of the attribute color of type String of the object. The class color.
- Parameters:
objectLight
- The object to get the color.aem
- The Application Entity Manager.bem
- The Business Entity Manager.mem
- The Metadata Entity Manager.- Returns:
- The object color.
- Throws:
InventoryException
-
-