Class CustomSchemaPropertyDefinition
java.lang.Object
com.aquima.interactions.communication.impl.CustomSchemaPropertyDefinition
- All Implemented Interfaces:
IDomainPropertyDefinition
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CustomSchemaPropertyDefinition
(IDomainPropertyDS datasource) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the attribute.This method returns the name of entity where the domain property has a relation to.Returns the custom schema element.Returns the data type of the property.Returns the documentation of the property.Returns the optional name of the items within this property.getName()
Returns the name of the property.Returns the object definition.Returns the schemaNameThis method returns the validations of the attribute.boolean
Returns an indicator whether the property is multivalued.boolean
Returns an indicator whether the property is mandatory.
-
Constructor Details
-
CustomSchemaPropertyDefinition
-
-
Method Details
-
getName
Description copied from interface:IDomainPropertyDefinition
Returns the name of the property.- Specified by:
getName
in interfaceIDomainPropertyDefinition
- Returns:
- The name, never null.
-
getDocumentation
Description copied from interface:IDomainPropertyDefinition
Returns the documentation of the property.- Specified by:
getDocumentation
in interfaceIDomainPropertyDefinition
- Returns:
- The documentation, may be null
-
isRequired
public boolean isRequired()Description copied from interface:IDomainPropertyDefinition
Returns an indicator whether the property is mandatory.- Specified by:
isRequired
in interfaceIDomainPropertyDefinition
- Returns:
- Required indicator.
-
isMultivalued
public boolean isMultivalued()Description copied from interface:IDomainPropertyDefinition
Returns an indicator whether the property is multivalued.- Specified by:
isMultivalued
in interfaceIDomainPropertyDefinition
- Returns:
- Multivalued indicator.
-
getAttributeName
Description copied from interface:IDomainPropertyDefinition
Returns the name of the attribute. The attribute must be a relation for an object definition. Also, it must match the datatype and the cardinality must match.- Specified by:
getAttributeName
in interfaceIDomainPropertyDefinition
- Returns:
- The name of the attribute, may be null.
-
getItemName
Description copied from interface:IDomainPropertyDefinition
Returns the optional name of the items within this property.- Specified by:
getItemName
in interfaceIDomainPropertyDefinition
- Returns:
- The optional item name, may be null.
-
getDataType
Description copied from interface:IDomainPropertyDefinition
Returns the data type of the property. When an Entity is the data object must be filled.- Specified by:
getDataType
in interfaceIDomainPropertyDefinition
- Returns:
- The data type, may be null.
-
getObjectDefinition
Description copied from interface:IDomainPropertyDefinition
Returns the object definition.- Specified by:
getObjectDefinition
in interfaceIDomainPropertyDefinition
- Returns:
- The object definition, mandatory in case of entity data type.
-
getSchemaName
Description copied from interface:IDomainPropertyDefinition
Returns the schemaName- Specified by:
getSchemaName
in interfaceIDomainPropertyDefinition
- Returns:
- The domain schema name.
-
getValidations
Description copied from interface:IDomainPropertyDefinition
This method returns the validations of the attribute.- Specified by:
getValidations
in interfaceIDomainPropertyDefinition
- Returns:
- The validations of the attribute, may not be null.
-
getAttributeRelationEntityName
Description copied from interface:IDomainPropertyDefinition
This method returns the name of entity where the domain property has a relation to. This method only returns a value when the domain property refers to a relation.- Specified by:
getAttributeRelationEntityName
in interfaceIDomainPropertyDefinition
- Returns:
- The name of entity where the domain property has a relation to, can be null.
-
getCustomSchemaElement
Description copied from interface:IDomainPropertyDefinition
Returns the custom schema element.- Specified by:
getCustomSchemaElement
in interfaceIDomainPropertyDefinition
- Returns:
- The custom schema element, otherwise null.
-