Class CategorizationDataType.CategorizationGroupData.TermData

  • Enclosing class:
    CategorizationDataType.CategorizationGroupData

    public static class CategorizationDataType.CategorizationGroupData.TermData
    extends Object
    Categorization term data.
    Since:
    9.0.0
    Version:
    $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
    • Constructor Detail

      • TermData

        public TermData​(String termContentId,
                        Locale locale)
        Creates a new instance using the given categorization term content identifier.
        Parameters:
        termContentId - the term content identifier.
        locale - the locale to be used when determining the term name.
        Since:
        9.0.0
    • Method Detail

      • getName

        public String getName()
        Returns the term name.
        Returns:
        the term name.
        Since:
        9.0.0
      • getContentId

        public String getContentId()
      • isDirectAssociation

        public boolean isDirectAssociation()
        Return whether this term is directly associated with the content.
        Returns:
        whether this term is directly associated with the content.
        Since:
        9.0.0
      • buildRestJSONMap

        public Map<String,​Object> buildRestJSONMap()
        Returns the Rest JSON map representation of this term.
        Returns:
        the Rest JSON map representation of this term.
        Since:
        9.0.0