Class Package
- java.lang.Object
-
- com.gentics.contentnode.rest.model.devtools.Package
-
public class Package extends Object
Package
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory()
Get the name of the package categoryConstruct
getConstruct()
Get the referenced constructint
getConstructs()
Number of constructs contained in the packageint
getContentRepositories()
Number of ContentRepositories contained in the packageint
getCrFragments()
Number of ContentRepository Fragments contained in the packageint
getDatasources()
Number of datasources contained in the packageString
getDescription()
Package descriptionString
getName()
Package nameint
getObjectProperties()
Number of object properties contained in the packageSet<Package>
getSubPackages()
Get set of sub packagesint
getTemplates()
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
setName(String name)
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 Detail
-
Package
public Package()
Create empty package
-
Package
public Package(String name)
Create package with name- Parameters:
name
- name
-
-
Method Detail
-
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
-
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
-
-