public class ODataMetaComplexTypeDefaultImpl extends AnnotableDefaultImpl implements ODataMetaComplexType
ODataMetaComplexType
.Constructor and Description |
---|
ODataMetaComplexTypeDefaultImpl(java.util.Map<java.lang.String,ODataMetaProperty> properties)
Constructor of complex type default implementation.
|
ODataMetaComplexTypeDefaultImpl(java.util.Map<java.lang.String,ODataMetaProperty> properties,
java.util.Map<AnnotationName,ODataMetaAnnotation> annotations)
Constructor of complex type default implementation with annotations.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ODataMetaProperty |
getProperty(java.lang.String propertyName)
Retrieves the metadata representation of one property specified by the given property name
|
java.util.Set<java.lang.String> |
getPropertyNames()
Retrieves the set of the property names.
|
int |
hashCode() |
getVocabularyAnnotation, getVocabularyAnnotation, getVocabularyAnnotationNames, setVocabularyAnnotations
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getVocabularyAnnotation, getVocabularyAnnotation, getVocabularyAnnotationNames
public ODataMetaComplexTypeDefaultImpl(java.util.Map<java.lang.String,ODataMetaProperty> properties)
properties
- the map of properties where the key is the name of the property and the value id the metadata representaion of the
property. MUST be non-null, otherwise IllegalArgumentException is thrownjava.lang.IllegalArgumentException
- if properties parameter is nullpublic ODataMetaComplexTypeDefaultImpl(java.util.Map<java.lang.String,ODataMetaProperty> properties, java.util.Map<AnnotationName,ODataMetaAnnotation> annotations)
properties
- the map of properties where the key is the name of the property and the value id the metadata representaion of the
property. MUST be non-null, otherwise IllegalArgumentException is thrownannotations
- Odata v4.0 vocabulary-based annotationsjava.lang.IllegalArgumentException
- if properties parameter is nullpublic java.util.Set<java.lang.String> getPropertyNames()
ODataMetaComplexType
getPropertyNames
in interface ODataMetaComplexType
public ODataMetaProperty getProperty(java.lang.String propertyName)
ODataMetaComplexType
getProperty
in interface ODataMetaComplexType
propertyName
- name of the propertypublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object