public class ODataMetaEntitySetDefaultImpl extends AnnotableDefaultImpl implements ODataMetaEntitySet
ODataMetaEntitySet
.Constructor and Description |
---|
ODataMetaEntitySetDefaultImpl(java.lang.String name,
java.lang.String entityType,
java.util.Map<AnnotationName,java.lang.String> annotations)
Constructor of entity set default implementation.
|
ODataMetaEntitySetDefaultImpl(java.lang.String name,
java.lang.String entityType,
java.util.Map<AnnotationName,java.lang.String> annotations,
java.util.Map<AnnotationName,ODataMetaAnnotation> v4annotations)
Constructor of entity set default implementation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAnnotation(AnnotationName name)
Retrieves the annotation value of the entity set specified by the given fully qualified annotation name.
|
java.lang.String |
getAnnotation(java.lang.String namespace,
java.lang.String name)
Retrieves the annotation value of the entity set with the given annotation namespace and localname.
|
java.util.Set<AnnotationName> |
getAnnotationNames()
Retrieves the annotation names of the entity set.
|
java.lang.String |
getEntityType()
Retrieves the fully qualified entity type name which this set contains.
|
java.lang.String |
getName()
Retrieves the name of the entity set.
|
int |
hashCode() |
getVocabularyAnnotation, getVocabularyAnnotation, getVocabularyAnnotationNames, setVocabularyAnnotations
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getVocabularyAnnotation, getVocabularyAnnotation, getVocabularyAnnotationNames
public ODataMetaEntitySetDefaultImpl(java.lang.String name, java.lang.String entityType, java.util.Map<AnnotationName,java.lang.String> annotations)
name
- the name of the entity set. MUST be non-null, otherwise IllegalArgumentException is thrownentityType
- the fully qualified entity type name which this set contains. 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 name, annotations or entityType parameter is nullpublic ODataMetaEntitySetDefaultImpl(java.lang.String name, java.lang.String entityType, java.util.Map<AnnotationName,java.lang.String> annotations, java.util.Map<AnnotationName,ODataMetaAnnotation> v4annotations)
name
- the name of the entity set. MUST be non-null, otherwise IllegalArgumentException is thrownentityType
- the fully qualified entity type name which this set contains. 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 thrownv4annotations
- Odata v4.0 vocabulary-based annotationsjava.lang.IllegalArgumentException
- if name, annotations or entityType parameter is nullpublic java.lang.String getName()
ODataMetaEntitySet
getName
in interface ODataMetaEntitySet
public java.lang.String getEntityType()
ODataMetaEntitySet
getEntityType
in interface ODataMetaEntitySet
public java.util.Set<AnnotationName> getAnnotationNames()
ODataMetaEntitySet
getAnnotationNames
in interface ODataMetaEntitySet
public java.lang.String getAnnotation(AnnotationName name)
ODataMetaEntitySet
getAnnotation
in interface ODataMetaEntitySet
name
- fully qualified annotation name. MUST be nn-null, otherwise NullPointerException is thrownpublic java.lang.String getAnnotation(java.lang.String namespace, java.lang.String name)
ODataMetaEntitySet
getAnnotation
in interface ODataMetaEntitySet
namespace
- namespace of the annotation, can be nullname
- localname of the annotation. MUST be non-null, otherwise NullPointerException is thrownpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object