Interface DataTypeDefinition


  • @AlfrescoPublicApi
    public interface DataTypeDefinition
    Read-only definition of a Data Type
    Author:
    David Caruana
    • Field Detail

      • ANY

        static final QName ANY
      • ENCRYPTED

        static final QName ENCRYPTED
      • TEXT

        static final QName TEXT
      • MLTEXT

        static final QName MLTEXT
      • CONTENT

        static final QName CONTENT
      • INT

        static final QName INT
      • LONG

        static final QName LONG
      • FLOAT

        static final QName FLOAT
      • DOUBLE

        static final QName DOUBLE
      • DATE

        static final QName DATE
      • DATETIME

        static final QName DATETIME
      • BOOLEAN

        static final QName BOOLEAN
      • QNAME

        static final QName QNAME
      • CATEGORY

        static final QName CATEGORY
      • NODE_REF

        static final QName NODE_REF
      • CHILD_ASSOC_REF

        static final QName CHILD_ASSOC_REF
      • ASSOC_REF

        static final QName ASSOC_REF
      • PATH

        static final QName PATH
      • LOCALE

        static final QName LOCALE
      • PERIOD

        static final QName PERIOD
    • Method Detail

      • getName

        QName getName()
        Returns:
        the qualified name of the data type
      • getTitle

        String getTitle​(MessageLookup messageLookup)
        Returns:
        the human-readable class title
      • getDescription

        String getDescription​(MessageLookup messageLookup)
        Returns:
        the human-readable class description
      • getAnalyserResourceBundleName

        String getAnalyserResourceBundleName()
        Get the name of the property bundle that defines analyser mappings for this data type (keyed by the type of the property)
        Returns:
        the resource or null if not set.
      • getJavaClassName

        String getJavaClassName()
        Returns:
        the equivalent java class name (or null, if not mapped)
      • getDefaultAnalyserClassName

        String getDefaultAnalyserClassName()
        Get the default analyser class - used when no resource bundles can be found and no repository default is set.
        Returns:
        String
      • resolveAnalyserClassName

        String resolveAnalyserClassName​(Locale locale)
        Parameters:
        locale -
        Returns:
        String
      • resolveAnalyserClassName

        String resolveAnalyserClassName()
        Returns:
        String