Class ClientAnnotationImpl
java.lang.Object
org.apache.olingo.client.core.domain.ClientAnnotationImpl
- All Implemented Interfaces:
ClientAnnotation,ClientValuable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets collection value.Gets complex value.Gets enum value.Gets primitive value.getTerm()Returns annotation name.getValue()Returns annotation value.booleanChecks if has collection value.booleanChecks if has complex value.booleanChecks if has enum value.booleanChecks if has null value.booleanChecks if has primitive value.toString()
-
Constructor Details
-
ClientAnnotationImpl
-
-
Method Details
-
getTerm
Description copied from interface:ClientAnnotationReturns annotation name.- Specified by:
getTermin interfaceClientAnnotation- Returns:
- annotation name.
-
getValue
Description copied from interface:ClientValuableReturns annotation value.- Specified by:
getValuein interfaceClientValuable- Returns:
- annotation value.
-
hasNullValue
public boolean hasNullValue()Description copied from interface:ClientValuableChecks if has null value.- Specified by:
hasNullValuein interfaceClientValuable- Returns:
- 'TRUE' if has null value; 'FALSE' otherwise.
-
hasPrimitiveValue
public boolean hasPrimitiveValue()Description copied from interface:ClientValuableChecks if has primitive value.- Specified by:
hasPrimitiveValuein interfaceClientValuable- Returns:
- 'TRUE' if has primitive value; 'FALSE' otherwise.
-
getPrimitiveValue
Description copied from interface:ClientValuableGets primitive value.- Specified by:
getPrimitiveValuein interfaceClientValuable- Returns:
- primitive value if exists; null otherwise.
-
hasCollectionValue
public boolean hasCollectionValue()Description copied from interface:ClientValuableChecks if has collection value.- Specified by:
hasCollectionValuein interfaceClientValuable- Returns:
- 'TRUE' if has collection value; 'FALSE' otherwise.
-
getCollectionValue
Description copied from interface:ClientValuableGets collection value.- Specified by:
getCollectionValuein interfaceClientValuable- Returns:
- collection value if exists; null otherwise.
-
hasComplexValue
public boolean hasComplexValue()Description copied from interface:ClientValuableChecks if has complex value.- Specified by:
hasComplexValuein interfaceClientValuable- Returns:
- 'TRUE' if has complex value; 'FALSE' otherwise.
-
getComplexValue
Description copied from interface:ClientValuableGets complex value.- Specified by:
getComplexValuein interfaceClientValuable- Returns:
- complex value if exists; null otherwise.
-
hasEnumValue
public boolean hasEnumValue()Description copied from interface:ClientValuableChecks if has enum value.- Specified by:
hasEnumValuein interfaceClientValuable- Returns:
- 'TRUE' if has enum value; 'FALSE' otherwise.
-
getEnumValue
Description copied from interface:ClientValuableGets enum value.- Specified by:
getEnumValuein interfaceClientValuable- Returns:
- enum value if exists; null otherwise.
-
toString
-