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 QNameANYstatic QNameASSOC_REFstatic QNameBOOLEANstatic QNameCATEGORYstatic QNameCHILD_ASSOC_REFstatic QNameCONTENTstatic QNameDATEstatic QNameDATETIMEstatic QNameDOUBLEstatic QNameENCRYPTEDstatic QNameFLOATstatic QNameINTstatic QNameLOCALEstatic QNameLONGstatic QNameMLTEXTstatic QNameNODE_REFstatic QNamePATHstatic QNamePERIODstatic QNameQNAMEstatic QNameTEXT
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetAnalyserResourceBundleName()Get the name of the property bundle that defines analyser mappings for this data type (keyed by the type of the property)StringgetDefaultAnalyserClassName()Get the default analyser class - used when no resource bundles can be found and no repository default is set.StringgetDescription()Deprecated.The problem identified in MNT-413 will still existStringgetDescription(MessageLookup messageLookup)StringgetJavaClassName()ModelDefinitiongetModel()QNamegetName()StringgetTitle()Deprecated.The problem identified in MNT-413 will still existStringgetTitle(MessageLookup messageLookup)StringresolveAnalyserClassName()StringresolveAnalyserClassName(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
String getTitle()
Deprecated.The problem identified in MNT-413 will still exist
-
getDescription
String getDescription()
Deprecated.The problem identified in MNT-413 will still exist
-
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
-
-