Class AnnotationAttribute
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.AnnotationAttribute
-
- All Implemented Interfaces:
EdmAnnotationAttribute
public class AnnotationAttribute extends Object implements EdmAnnotationAttribute
Objects of this class represent an annotation attribute
-
-
Constructor Summary
Constructors Constructor Description AnnotationAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the name of the custom attributeStringgetNamespace()Get the namespace of the custom attributeStringgetPrefix()Get the prefix of the custom attributeStringgetText()Get the text of the custom attributeAnnotationAttributesetName(String name)Sets the name for thisAnnotationAttribute.AnnotationAttributesetNamespace(String namespace)Sets the namespace for thisAnnotationAttribute.AnnotationAttributesetPrefix(String prefix)Sets the prefix for thisAnnotationAttribute.AnnotationAttributesetText(String text)Sets the text for thisAnnotationAttribute.
-
-
-
Method Detail
-
getNamespace
public String getNamespace()
Description copied from interface:EdmAnnotationAttributeGet the namespace of the custom attribute- Specified by:
getNamespacein interfaceEdmAnnotationAttribute- Returns:
- String
-
getPrefix
public String getPrefix()
Description copied from interface:EdmAnnotationAttributeGet the prefix of the custom attribute- Specified by:
getPrefixin interfaceEdmAnnotationAttribute- Returns:
- String
-
getName
public String getName()
Description copied from interface:EdmAnnotationAttributeGet the name of the custom attribute- Specified by:
getNamein interfaceEdmAnnotationAttribute- Returns:
- String
-
getText
public String getText()
Description copied from interface:EdmAnnotationAttributeGet the text of the custom attribute- Specified by:
getTextin interfaceEdmAnnotationAttribute- Returns:
- String
-
setNamespace
public AnnotationAttribute setNamespace(String namespace)
Sets the namespace for thisAnnotationAttribute.- Parameters:
namespace- Namespace- Returns:
AnnotationAttributefor method chaining
-
setPrefix
public AnnotationAttribute setPrefix(String prefix)
Sets the prefix for thisAnnotationAttribute.- Parameters:
prefix- Prefixo- Returns:
AnnotationAttributefor method chaining
-
setName
public AnnotationAttribute setName(String name)
Sets the name for thisAnnotationAttribute.- Parameters:
name- Nome- Returns:
AnnotationAttributefor method chaining
-
setText
public AnnotationAttribute setText(String text)
Sets the text for thisAnnotationAttribute.- Parameters:
text- Texto- Returns:
AnnotationAttributefor method chaining
-
-