use of org.onosproject.yang.model.ModelObject in project onos by opennetworkinglab.
the class TapiObjectHandler method getModelObjectData.
/**
* Get modelObjectData instance.
*
* @return ModelObjectData of target node
*/
public ModelObjectData getModelObjectData() {
ModelObject obj = getModelObject();
ModelObjectId objId = getParentModelObjectId();
return DefaultModelObjectData.builder().addModelObject(obj).identifier(objId).build();
}
Aggregations