org.apache.olingo.odata2.api.edm.provider
Class AnnotationAttribute

java.lang.Object
  extended by 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
AnnotationAttribute()
           
 
Method Summary
 String getName()
          Get the name of the custom attribute
 String getNamespace()
          Get the namespace of the custom attribute
 String getPrefix()
          Get the prefix of the custom attribute
 String getText()
          Get the text of the custom attribute
 AnnotationAttribute setName(String name)
          Sets the name for this AnnotationAttribute.
 AnnotationAttribute setNamespace(String namespace)
          Sets the namespace for this AnnotationAttribute.
 AnnotationAttribute setPrefix(String prefix)
          Sets the prefix for this AnnotationAttribute.
 AnnotationAttribute setText(String text)
          Sets the text for this AnnotationAttribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationAttribute

public AnnotationAttribute()
Method Detail

getNamespace

public String getNamespace()
Description copied from interface: EdmAnnotationAttribute
Get the namespace of the custom attribute

Specified by:
getNamespace in interface EdmAnnotationAttribute
Returns:
String

getPrefix

public String getPrefix()
Description copied from interface: EdmAnnotationAttribute
Get the prefix of the custom attribute

Specified by:
getPrefix in interface EdmAnnotationAttribute
Returns:
String

getName

public String getName()
Description copied from interface: EdmAnnotationAttribute
Get the name of the custom attribute

Specified by:
getName in interface EdmAnnotationAttribute
Returns:
String

getText

public String getText()
Description copied from interface: EdmAnnotationAttribute
Get the text of the custom attribute

Specified by:
getText in interface EdmAnnotationAttribute
Returns:
String

setNamespace

public AnnotationAttribute setNamespace(String namespace)
Sets the namespace for this AnnotationAttribute.

Parameters:
namespace -
Returns:
AnnotationAttribute for method chaining

setPrefix

public AnnotationAttribute setPrefix(String prefix)
Sets the prefix for this AnnotationAttribute.

Parameters:
prefix -
Returns:
AnnotationAttribute for method chaining

setName

public AnnotationAttribute setName(String name)
Sets the name for this AnnotationAttribute.

Parameters:
name -
Returns:
AnnotationAttribute for method chaining

setText

public AnnotationAttribute setText(String text)
Sets the text for this AnnotationAttribute.

Parameters:
text -
Returns:
AnnotationAttribute for method chaining


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.