Elements childElements = getChildElements(); if(childElements.size()>0) { throw new CdlInvalidValueReferenceException( CdlInvalidValueReferenceException.ERROR_CHILD_ELEMENTS_IN_REFERENCE +getDescription()); }
    public boolean isValueReference() throws CdlInvalidValueReferenceException {        String ref= getRefValue();        if(ref==null) {            return false;        }        Elements childElements = getChildElements();        if(childElements.size()>0) {            throw new CdlInvalidValueReferenceException(                    CdlInvalidValueReferenceException.ERROR_CHILD_ELEMENTS_IN_REFERENCE            +getDescription());        }        return true;    }