func (obj *ObjectBase) GetName() string {
	return obj.name
}
GetName is the accessor method for object (unqualified) name
package contrail
import (
	"encoding/json"
	"fmt"
	"os"
	"reflect"
	"sort"
	"strings"
)
type IObject interface {
	GetDefaultParent() []string
	GetDefaultParentType() string
	GetFQName() []string
	GetName() string
	GetType() string
	GetParentType() string
	GetUuid() string
	GetHref() string
	SetName(string)
	SetUuid(string)
	SetFQName(string, []string)
	SetClient(objectInterface)
	UpdateObject() ([]byte, error)
	UpdateReferences() error
	UpdateDone()
}
type ObjectBase struct {
	fq_name     []string
	href        string
	name        string
	uuid        string
	parent_href string
	parent_type string
	parent_uuid string
	clientPtr objectInterface
	parent    IObject
}
func (obj *ObjectBase) VSetName(vPtr IObject, name string) {
	obj.name = name
	if obj.parent != nil {
		size := len(obj.parent.GetFQName())
		obj.fq_name = make([]string, size, size+1)
		copy(obj.fq_name, obj.parent.GetFQName())
		obj.fq_name = append(obj.fq_name, name)
		obj.parent_type = obj.parent.GetType()
	} else {
		size := len(vPtr.GetDefaultParent())
		obj.fq_name = make([]string, size, size+1)
		copy(obj.fq_name, vPtr.GetDefaultParent())
		obj.fq_name = append(obj.fq_name, name)
		obj.parent_type = vPtr.GetDefaultParentType()
	}
}
func (obj *ObjectBase) VSetParent(vPtr IObject, parent IObject) {
	obj.parent = parent
	if len(obj.name) > 0 {
		obj.VSetName(vPtr, obj.name)
	}
}