public class ODataMetaEntityContainerDefaultImpl extends AnnotableDefaultImpl implements ODataMetaEntityContainer
ODataMetaEntityContainer
.Constructor and Description |
---|
ODataMetaEntityContainerDefaultImpl(java.util.Map<java.lang.String,ODataMetaFunctionImport> functionImports,
java.util.Map<java.lang.String,ODataMetaEntitySet> metaEntitySets,
java.util.Map<AnnotationName,java.lang.String> annotations)
Constructor of entity container default implementation.
|
ODataMetaEntityContainerDefaultImpl(java.util.Map<java.lang.String,ODataMetaFunctionImport> functionImports,
java.util.Map<java.lang.String,ODataMetaEntitySet> metaEntitySets,
java.util.Map<AnnotationName,java.lang.String> annotations,
java.util.Map<AnnotationName,ODataMetaAnnotation> v4Annotations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAnnotation(AnnotationName name)
Retrieves the annotation value specified by the given annotation name.
|
java.lang.String |
getAnnotation(java.lang.String namespace,
java.lang.String name)
Retrieves the annotation value specified by the given annotation namespace and loccalname.
|
java.util.Set<AnnotationName> |
getAnnotationNames()
Retrieves the set of annotation names belonging to the entity container.
|
java.util.Set<java.lang.String> |
getEntitySetNames()
Retrieves the names of the entity sets.
|
ODataMetaFunctionImport |
getFunctionImport(java.lang.String name)
Retrieves the metadata representation of function import specified by the given name.
|
java.util.Set<java.lang.String> |
getFunctionImportNames()
Retrieves the set of function import names.
|
ODataMetaEntitySet |
getMetaEntitySet(java.lang.String name)
Retrieves the entity set specified by the given name.
|
int |
hashCode() |
getVocabularyAnnotation, getVocabularyAnnotation, getVocabularyAnnotationNames, setVocabularyAnnotations
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getVocabularyAnnotation, getVocabularyAnnotation, getVocabularyAnnotationNames
public ODataMetaEntityContainerDefaultImpl(java.util.Map<java.lang.String,ODataMetaFunctionImport> functionImports, java.util.Map<java.lang.String,ODataMetaEntitySet> metaEntitySets, java.util.Map<AnnotationName,java.lang.String> annotations)
functionImports
- map of function imports where the key is the name of the function import and the value is the metadata representation
of the function import. MUST be non-null, otherwise IllegalArgumentException is thrownmetaEntitySets
- map of entity sets where the key is name of the entity set and the value is the metadata representation of the entity
sets. MUST be non-null, otherwise IllegalArgumentException is thrownannotations
- map of annotations where the key is the fully qualified annotation name and the value is the annotation value. MUST
be non-null, otherwise IllegalArgumentException is thrownjava.lang.IllegalArgumentException
- if functionImports, metaEntitySets or annotations parameter is nullpublic ODataMetaEntityContainerDefaultImpl(java.util.Map<java.lang.String,ODataMetaFunctionImport> functionImports, java.util.Map<java.lang.String,ODataMetaEntitySet> metaEntitySets, java.util.Map<AnnotationName,java.lang.String> annotations, java.util.Map<AnnotationName,ODataMetaAnnotation> v4Annotations)
public java.util.Set<java.lang.String> getFunctionImportNames()
ODataMetaEntityContainer
getFunctionImportNames
in interface ODataMetaEntityContainer
public ODataMetaFunctionImport getFunctionImport(java.lang.String name)
ODataMetaEntityContainer
getFunctionImport
in interface ODataMetaEntityContainer
name
- of the function import. MUST be non-null, otherwise NullPointerException is thrownpublic java.util.Set<java.lang.String> getEntitySetNames()
ODataMetaEntityContainer
getEntitySetNames
in interface ODataMetaEntityContainer
public ODataMetaEntitySet getMetaEntitySet(java.lang.String name)
ODataMetaEntityContainer
getMetaEntitySet
in interface ODataMetaEntityContainer
name
- name of the entity set. MUST be non-null, otherwise NullPointerException is thrownpublic java.util.Set<AnnotationName> getAnnotationNames()
ODataMetaEntityContainer
getAnnotationNames
in interface ODataMetaEntityContainer
public java.lang.String getAnnotation(AnnotationName name)
ODataMetaEntityContainer
getAnnotation
in interface ODataMetaEntityContainer
name
- fully qualified name of the annotation. MUST be non-null, otherwise NullPointerException is thrownpublic java.lang.String getAnnotation(java.lang.String namespace, java.lang.String name)
ODataMetaEntityContainer
getAnnotation
in interface ODataMetaEntityContainer
namespace
- namespace of the annotation, can be nullname
- local name of the annotation. It MUST be non-null, otherwise NullpointerException is thrown.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object