Class DatasourceInPackage

java.lang.Object
com.gentics.contentnode.rest.model.Datasource
com.gentics.contentnode.rest.model.devtools.DatasourceInPackage
All Implemented Interfaces:
Serializable

public class DatasourceInPackage extends Datasource
Datasource in a package.
If the object does not have a (local) ID, this means that the object was not synchronized to the CMS.
It is also possible, that the global ID of the object is null, if it is not set in the gentics_structure.json file.
Objects without global ID in the filesystem can be imported into the CMS, but will never be "in sync", because they cannot be identified without global ID.
See Also:
  • Field Details

    • packageName

      protected String packageName
  • Constructor Details

    • DatasourceInPackage

      public DatasourceInPackage()
  • Method Details

    • getPackageName

      public String getPackageName()
      Name of the package that contains the object
      Returns:
      package name
    • setPackageName

      public void setPackageName(String packageName)
      Set the package name
      Parameters:
      packageName - package name