Class AnnotationAttribute
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute
- All Implemented Interfaces:
EdmAnnotationAttribute
Objects of this class represent an annotation attribute
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the name of the custom attributeGet the namespace of the custom attributeGet the prefix of the custom attributegetText()Get the text of the custom attributeSets the name for thisAnnotationAttribute.setNamespace(String namespace) Sets the namespace for thisAnnotationAttribute.Sets the prefix for thisAnnotationAttribute.Sets the text for thisAnnotationAttribute.
-
Constructor Details
-
AnnotationAttribute
public AnnotationAttribute()
-
-
Method Details
-
getNamespace
Description copied from interface:EdmAnnotationAttributeGet the namespace of the custom attribute- Specified by:
getNamespacein interfaceEdmAnnotationAttribute- Returns:
- String
-
getPrefix
Description copied from interface:EdmAnnotationAttributeGet the prefix of the custom attribute- Specified by:
getPrefixin interfaceEdmAnnotationAttribute- Returns:
- String
-
getName
Description copied from interface:EdmAnnotationAttributeGet the name of the custom attribute- Specified by:
getNamein interfaceEdmAnnotationAttribute- Returns:
- String
-
getText
Description copied from interface:EdmAnnotationAttributeGet the text of the custom attribute- Specified by:
getTextin interfaceEdmAnnotationAttribute- Returns:
- String
-
setNamespace
Sets the namespace for thisAnnotationAttribute.- Parameters:
namespace-- Returns:
AnnotationAttributefor method chaining
-
setPrefix
Sets the prefix for thisAnnotationAttribute.- Parameters:
prefix-- Returns:
AnnotationAttributefor method chaining
-
setName
Sets the name for thisAnnotationAttribute.- Parameters:
name-- Returns:
AnnotationAttributefor method chaining
-
setText
Sets the text for thisAnnotationAttribute.- Parameters:
text-- Returns:
AnnotationAttributefor method chaining
-