Interface DataTypeDefinition
-
@AlfrescoPublicApi public interface DataTypeDefinition
Read-only definition of a Data Type- Author:
- David Caruana
-
-
Field Summary
Fields Modifier and Type Field Description static QName
ANY
static QName
ASSOC_REF
static QName
BOOLEAN
static QName
CATEGORY
static QName
CHILD_ASSOC_REF
static QName
CONTENT
static QName
DATE
static QName
DATETIME
static QName
DOUBLE
static QName
ENCRYPTED
static QName
FLOAT
static QName
INT
static QName
LOCALE
static QName
LONG
static QName
MLTEXT
static QName
NODE_REF
static QName
PATH
static QName
PERIOD
static QName
QNAME
static QName
TEXT
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getAnalyserResourceBundleName()
Get the name of the property bundle that defines analyser mappings for this data type (keyed by the type of the property)java.lang.String
getDefaultAnalyserClassName()
Get the default analyser class - used when no resource bundles can be found and no repository default is set.java.lang.String
getDescription()
Deprecated.The problem identified in MNT-413 will still existjava.lang.String
getDescription(MessageLookup messageLookup)
java.lang.String
getJavaClassName()
ModelDefinition
getModel()
QName
getName()
java.lang.String
getTitle()
Deprecated.The problem identified in MNT-413 will still existjava.lang.String
getTitle(MessageLookup messageLookup)
java.lang.String
resolveAnalyserClassName()
java.lang.String
resolveAnalyserClassName(java.util.Locale locale)
-
-
-
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
-
getModel
ModelDefinition getModel()
- Returns:
- defining model
-
getName
QName getName()
- Returns:
- the qualified name of the data type
-
getTitle
java.lang.String getTitle()
Deprecated.The problem identified in MNT-413 will still exist
-
getDescription
java.lang.String getDescription()
Deprecated.The problem identified in MNT-413 will still exist
-
getTitle
java.lang.String getTitle(MessageLookup messageLookup)
- Returns:
- the human-readable class title
-
getDescription
java.lang.String getDescription(MessageLookup messageLookup)
- Returns:
- the human-readable class description
-
getAnalyserResourceBundleName
java.lang.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
java.lang.String getJavaClassName()
- Returns:
- the equivalent java class name (or null, if not mapped)
-
getDefaultAnalyserClassName
java.lang.String getDefaultAnalyserClassName()
Get the default analyser class - used when no resource bundles can be found and no repository default is set.- Returns:
- String
-
resolveAnalyserClassName
java.lang.String resolveAnalyserClassName(java.util.Locale locale)
- Parameters:
locale
-- Returns:
- String
-
resolveAnalyserClassName
java.lang.String resolveAnalyserClassName()
- Returns:
- String
-
-