public class PackageModel
extends java.lang.Object
Constructor and Description |
---|
PackageModel() |
PackageModel(java.lang.String path)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(PackageModel model)
Add a child package to the model.
|
java.util.Map<java.lang.String,PackageModel> |
getChildren()
Return the children package of the model.
|
java.lang.String |
getName()
Return the path of the package.
|
PackageModel |
getParent()
Return the parent package.
|
void |
setParent(PackageModel parent)
Set the parent package.
|
public PackageModel()
public PackageModel(java.lang.String path)
path
- the path of the packagepublic void setParent(PackageModel parent)
parent
- the parent packagepublic PackageModel getParent()
public java.lang.String getName()
public void addChild(PackageModel model)
model
- the child packagepublic java.util.Map<java.lang.String,PackageModel> getChildren()
Copyright © 2016-2023 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence