Class Package
java.lang.Object
com.gentics.contentnode.rest.model.devtools.Package
Package
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the package categoryGet the referenced constructintNumber of constructs contained in the packageintNumber of ContentRepositories contained in the packageintNumber of ContentRepository Fragments contained in the packageintNumber of datasources contained in the packagePackage descriptiongetName()Package nameintNumber of object properties contained in the packageGet set of sub packagesintNumber of templates contained in the packagevoidsetCategory(String category) Set the name of the package categoryvoidsetConstruct(Construct construct) Set the referenced constructvoidsetConstructs(int constructs) Set the number of constructsvoidsetContentRepositories(int contentRepositories) Set the number of ContentRepositoriesvoidsetCrFragments(int crFragments) Set the number of ContentRepository FragmentsvoidsetDatasources(int datasources) Set the number of datasourcesvoidsetDescription(String description) Set the descriptionvoidSet the package namevoidsetObjectProperties(int objectProperties) Set the number of object propertiesvoidsetSubPackages(Set<Package> subPackages) Set set of sub packagesvoidsetTemplates(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
-