java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.metamodel.ds.xml.r12.parsing.XmlAttributeDS
All Implemented Interfaces:
IReportingDS, IAttributeDS

public class XmlAttributeDS extends ReportingDS implements IAttributeDS
Xml datasource implementation.
Since:
7.2
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • getDataType

      public DataType getDataType()
      Description copied from interface: IAttributeDS
      This method returns the data type of the attribute.
      Specified by:
      getDataType in interface IAttributeDS
      Returns:
      The data type of the attribute.
    • getDescription

      public String getDescription()
      Description copied from interface: IAttributeDS
      This method return the description for this attribute.
      Specified by:
      getDescription in interface IAttributeDS
      Returns:
      Return the description for this attribute
    • getDomainName

      public String getDomainName()
      Description copied from interface: IAttributeDS
      This method returns the name of the domain for the attribute. The domain name may be empty null when the attribute has no domain.
      Specified by:
      getDomainName in interface IAttributeDS
      Returns:
      The id of the domain the values are restricted to.
    • getId

      public String getId()
      Description copied from interface: IAttributeDS
      This method returns the unique identifier of the attribute, consisting of the entity in which the attribute is defined plus the attribute name, lowercased, e.g. entity.attribute
      Specified by:
      getId in interface IAttributeDS
      Returns:
      the unique identifier of the attribute.
    • getName

      public String getName()
      Description copied from interface: IAttributeDS
      This method returns the name of the attribute.
      Specified by:
      getName in interface IAttributeDS
      Returns:
      The name of the attribute.
    • getRelation

      public IRelationDS getRelation()
      Description copied from interface: IAttributeDS
      This method returns an object containing information about the relation. The relation information is only relevant for the data type Entity, and should return null for attributes of other data types.
      Specified by:
      getRelation in interface IAttributeDS
      Returns:
      data source containing information about the relation.
    • isAskable

      public boolean isAskable()
      Description copied from interface: IAttributeDS
      This method returns a boolean indicating if the attribute value can be provided by the client.
      Specified by:
      isAskable in interface IAttributeDS
      Returns:
      boolean indicating if the client is able to provide a value for this attribute.
    • isMultiValue

      public boolean isMultiValue()
      Description copied from interface: IAttributeDS
      This method returns whether the profile contains (or may contain) multiple values for this attribute. Attributes that can have multiple values in the profile should also define a multi-value strategy.
      Specified by:
      isMultiValue in interface IAttributeDS
      Returns:
      boolean indicating whether the profile can contain multiple values for this attribute.
    • isReverseAttribute

      public boolean isReverseAttribute()
      Description copied from interface: IAttributeDS
      This method returns a boolean indicating this attribute is a reverse relation attribute.
      Specified by:
      isReverseAttribute in interface IAttributeDS
      Returns:
      A boolean indicating this attribute is a reverse relation attribute.
    • getFunctionalName

      public String getFunctionalName()
      Description copied from interface: IAttributeDS
      This method return the functional name for this attribute.
      Specified by:
      getFunctionalName in interface IAttributeDS
      Returns:
      Return the functional name for this attribute
    • isReference

      public boolean isReference()
      Description copied from interface: IAttributeDS
      This method returns a boolean indicating that this attribute acts as a reference
      Specified by:
      isReference in interface IAttributeDS
      Returns:
      A boolean indicating that this attribute acts as a reference
    • getReference

      public IReferenceDS getReference()
      Description copied from interface: IAttributeDS
      This method returns the reference of the attribute
      Specified by:
      getReference in interface IAttributeDS
      Returns:
      The reference type of the attribute