Interface ClientValuable
- All Known Subinterfaces:
ClientAnnotation
,ClientProperty
public interface ClientValuable
-
Method Summary
Modifier and TypeMethodDescriptionGets collection value.Gets complex value.Gets enum value.Gets primitive value.getValue()
Returns annotation value.boolean
Checks if has collection value.boolean
Checks if has complex value.boolean
Checks if has enum value.boolean
Checks if has null value.boolean
Checks if has primitive value.
-
Method Details
-
getValue
ClientValue getValue()Returns annotation value.- Returns:
- annotation value.
-
hasNullValue
boolean hasNullValue()Checks if has null value.- Returns:
- 'TRUE' if has null value; 'FALSE' otherwise.
-
hasPrimitiveValue
boolean hasPrimitiveValue()Checks if has primitive value.- Returns:
- 'TRUE' if has primitive value; 'FALSE' otherwise.
-
getPrimitiveValue
ClientPrimitiveValue getPrimitiveValue()Gets primitive value.- Returns:
- primitive value if exists; null otherwise.
-
hasCollectionValue
boolean hasCollectionValue()Checks if has collection value.- Returns:
- 'TRUE' if has collection value; 'FALSE' otherwise.
-
getCollectionValue
ClientCollectionValue<ClientValue> getCollectionValue()Gets collection value.- Returns:
- collection value if exists; null otherwise.
-
hasComplexValue
boolean hasComplexValue()Checks if has complex value.- Returns:
- 'TRUE' if has complex value; 'FALSE' otherwise.
-
getComplexValue
ClientComplexValue getComplexValue()Gets complex value.- Returns:
- complex value if exists; null otherwise.
-
hasEnumValue
boolean hasEnumValue()Checks if has enum value.- Returns:
- 'TRUE' if has enum value; 'FALSE' otherwise.
-
getEnumValue
ClientEnumValue getEnumValue()Gets enum value.- Returns:
- enum value if exists; null otherwise.
-