Class DataMember
java.lang.Object
com.aquima.interactions.portal.model.datatype.DataMember
Member definition of a value type.
- Since:
- 9.3
- Author:
- A.Pragt
-
Constructor Summary
ConstructorsConstructorDescriptionDataMember
(String name, DataValueType type) Constructs a new member definition. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAnnotation
(String name) Returns the value of an annotation.String[]
Returns the names of the annotations.getName()
Returns the name of the member.getType()
Returns the type of the member.int
hashCode()
void
setAnnotation
(String name, String value) Sets an annotation to a value.
-
Constructor Details
-
DataMember
Constructs a new member definition.- Parameters:
name
- The name of the property, not null or empty.type
- The type of the property, not null.
-
-
Method Details
-
getName
Returns the name of the member.- Returns:
- The name, never null.
-
getType
Returns the type of the member.- Returns:
- The type definition, never null.
-
getAnnotations
Returns the names of the annotations.- Returns:
- Annotation names, never null.
-
getAnnotation
Returns the value of an annotation.- Parameters:
name
- The name of the annotation, not null.- Returns:
- The value of the annotation, or null.
-
setAnnotation
Sets an annotation to a value.- Parameters:
name
- The name of the annotation, not null.value
- The value of the annotation, or null.
-
hashCode
public int hashCode() -
equals
-