java.lang.Object
com.gentics.contentnode.rest.model.devtools.Package

public class Package extends Object
Package
  • Constructor Details

    • Package

      public Package()
      Create empty package
    • Package

      public Package(String name)
      Create package with name
      Parameters:
      name - name
  • Method Details

    • getName

      public String getName()
      Package name
      Returns:
      name
    • setName

      public void setName(String name)
      Set the package name
      Parameters:
      name - package name
    • getDescription

      public String getDescription()
      Package description
      Returns:
      package description
    • setDescription

      public void setDescription(String description)
      Set the description
      Parameters:
      description - description
    • getConstructs

      public int getConstructs()
      Number of constructs contained in the package
      Returns:
      number of constructs
    • setConstructs

      public void setConstructs(int constructs)
      Set the number of constructs
      Parameters:
      constructs - number of constructs
    • getTemplates

      public int getTemplates()
      Number of templates contained in the package
      Returns:
      number of templates
    • setTemplates

      public void setTemplates(int templates)
      Set the number of templates
      Parameters:
      templates - number of templates
    • getDatasources

      public int getDatasources()
      Number of datasources contained in the package
      Returns:
      number of datasources
    • setDatasources

      public void setDatasources(int datasources)
      Set the number of datasources
      Parameters:
      datasources - number of datasources
    • getObjectProperties

      public int getObjectProperties()
      Number of object properties contained in the package
      Returns:
      number of object properties
    • setObjectProperties

      public void setObjectProperties(int objectProperties)
      Set the number of object properties
      Parameters:
      objectProperties - numer of object properties
    • getCrFragments

      public int getCrFragments()
      Number of ContentRepository Fragments contained in the package
      Returns:
      number of ContentRepository Fragments
    • setCrFragments

      public void setCrFragments(int crFragments)
      Set the number of ContentRepository Fragments
      Parameters:
      crFragments - number of ContentRepository Fragments
    • getContentRepositories

      public int getContentRepositories()
      Number of ContentRepositories contained in the package
      Returns:
      number of ContentRepositories
    • setContentRepositories

      public void setContentRepositories(int contentRepositories)
      Set the number of ContentRepositories
      Parameters:
      contentRepositories - number ofr ContentRepositories
    • getSubPackages

      public Set<Package> getSubPackages()
      Get set of sub packages
      Returns:
      sub packages
    • setSubPackages

      public void setSubPackages(Set<Package> subPackages)
      Set set of sub packages
      Parameters:
      subPackages - sub packages
    • getConstruct

      public Construct getConstruct()
      Get the referenced construct
      Returns:
      the referenced construct
    • setConstruct

      public void setConstruct(Construct construct)
      Set the referenced construct
      Parameters:
      construct - the referenced construct
    • getCategory

      public String getCategory()
      Get the name of the package category
      Returns:
      category name of the package
    • setCategory

      public void setCategory(String category)
      Set the name of the package category