Class RemoteObjectRelatedObjects
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.business.RemoteObjectRelatedObjects
-
- All Implemented Interfaces:
Serializable
public class RemoteObjectRelatedObjects extends Object implements Serializable
Wraps the object and objects related with it so a Hashmap doesn't have to be used e.g. a list of ports and its parents when vlan maps its generated- Author:
- Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteObjectRelatedObjects()
RemoteObjectRelatedObjects(HashMap<BusinessObjectLight,List<BusinessObjectLight>> relationships)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashMap<RemoteObjectLight,RemoteObjectLightList>
asHashMap()
Organizes the relationships as a HashMap objectList<RemoteObjectLight>
getObjs()
List<RemoteObjectLightList>
getRelatedObjects()
-
-
-
Constructor Detail
-
RemoteObjectRelatedObjects
public RemoteObjectRelatedObjects()
-
RemoteObjectRelatedObjects
public RemoteObjectRelatedObjects(HashMap<BusinessObjectLight,List<BusinessObjectLight>> relationships)
-
-
Method Detail
-
getObjs
public List<RemoteObjectLight> getObjs()
-
getRelatedObjects
public List<RemoteObjectLightList> getRelatedObjects()
-
asHashMap
public HashMap<RemoteObjectLight,RemoteObjectLightList> asHashMap()
Organizes the relationships as a HashMap object- Returns:
- A HashMap object with the relationships
-
-