Interface Model

    • Method Detail

      • of

        static Model of​(String id,
                        String familyId,
                        ModelItem... modelItems)
        Creates a Model with the given ModelItems
        Parameters:
        id - the model identifier
        familyId - the model family identifier
        modelItems - the model items
        Returns:
        the created Model
      • getId

        String getId()
        Retrieves the model id (an id must be unique in the family getFamilyId()
        Returns:
        model id (for example the content type id for a content)
      • getFamilyId

        String getFamilyId()
        Retrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family Id
        Returns:
        content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)