Class DataKeyInfo


  • public class DataKeyInfo
    extends Object
    Data transfer object that represents a data key.
    Since:
    3.4
    Author:
    Nick Smith
    • Method Detail

      • makeAssociationDataKeyInfo

        public static DataKeyInfo makeAssociationDataKeyInfo​(String dataKey,
                                                             org.alfresco.service.namespace.QName qName,
                                                             boolean isAdd)
      • makePropertyDataKeyInfo

        public static DataKeyInfo makePropertyDataKeyInfo​(String dataKey,
                                                          org.alfresco.service.namespace.QName qName)
      • makeTransientPropertyDataKeyInfo

        public static DataKeyInfo makeTransientPropertyDataKeyInfo​(String dataKey)
      • makeTransientAssociationDataKeyInfo

        public static DataKeyInfo makeTransientAssociationDataKeyInfo​(String dataKey,
                                                                      boolean isAdd)
      • getFieldName

        public String getFieldName()
        Returns:
        the fieldName
      • getQName

        public org.alfresco.service.namespace.QName getQName()
        Returns:
        the qName
      • getFieldType

        public FieldType getFieldType()
        Returns:
        the fieldType
      • isAdd

        public boolean isAdd()
        Returns:
        the isAdd