Class Package
java.lang.Object
com.gentics.contentnode.rest.model.devtools.Package
Package
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the package categoryGet the referenced constructint
Number of constructs contained in the packageint
Number of ContentRepositories contained in the packageint
Number of ContentRepository Fragments contained in the packageint
Number of datasources contained in the packagePackage descriptiongetName()
Package nameint
Number of object properties contained in the packageGet set of sub packagesint
Number of templates contained in the packagevoid
setCategory
(String category) Set the name of the package categoryvoid
setConstruct
(Construct construct) Set the referenced constructvoid
setConstructs
(int constructs) Set the number of constructsvoid
setContentRepositories
(int contentRepositories) Set the number of ContentRepositoriesvoid
setCrFragments
(int crFragments) Set the number of ContentRepository Fragmentsvoid
setDatasources
(int datasources) Set the number of datasourcesvoid
setDescription
(String description) Set the descriptionvoid
Set the package namevoid
setObjectProperties
(int objectProperties) Set the number of object propertiesvoid
setSubPackages
(Set<Package> subPackages) Set set of sub packagesvoid
setTemplates
(int templates) Set the number of templates
-
Constructor Details
-
Package
public Package()Create empty package -
Package
Create package with name- Parameters:
name
- name
-
-
Method Details
-
getName
Package name- Returns:
- name
-
setName
Set the package name- Parameters:
name
- package name
-
getDescription
Package description- Returns:
- package description
-
setDescription
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
Get set of sub packages- Returns:
- sub packages
-
setSubPackages
Set set of sub packages- Parameters:
subPackages
- sub packages
-
getConstruct
Get the referenced construct- Returns:
- the referenced construct
-
setConstruct
Set the referenced construct- Parameters:
construct
- the referenced construct
-
getCategory
Get the name of the package category- Returns:
- category name of the package
-
setCategory
Set the name of the package category
-