/** * Gets singleton. * * @param name the name * @return the singleton */ public CsdlSingleton getSingleton(final String name) { return getOneByName(name, getSingletons()); }
/** * Gets entity set. * * @param name the name * @return the entity set */ public CsdlEntitySet getEntitySet(final String name) { return getOneByName(name, getEntitySets()); }
/** * Gets entity set. * * @param name the name * @return the entity set */ public CsdlEntitySet getEntitySet(final String name) { return getOneByName(name, getEntitySets()); }
/** * Gets the first action import with given name. * * @param name name. * @return action import. */ public CsdlActionImport getActionImport(final String name) { return getOneByName(name, getActionImports()); }
/** * Gets the first function import with given name. * * @param name name. * @return function import. */ public CsdlFunctionImport getFunctionImport(final String name) { return getOneByName(name, getFunctionImports()); }
/** * Gets the first action import with given name. * * @param name name. * @return action import. */ public CsdlActionImport getActionImport(final String name) { return getOneByName(name, getActionImports()); }
/** * Gets the first function import with given name. * * @param name name. * @return function import. */ public CsdlFunctionImport getFunctionImport(final String name) { return getOneByName(name, getFunctionImports()); }
/** * Gets singleton. * * @param name the name * @return the singleton */ public CsdlSingleton getSingleton(final String name) { return getOneByName(name, getSingletons()); }