| Constructor and Description |
|---|
PServicesData(String sharingType,
Poid serviceParentPoid)
PServicesData This is the constructor for PServicesData.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addServiceType(PServiceType serviceType)
addServiceType will add a
PServiceType datastructure to
PservicesData |
Enumeration |
children()
Returns the children of the receiver as an
Enumeration. |
void |
clear()
clear will reinitialize the data
|
PServiceType |
getAccountLevelServiceType()
getAccountLevelServiceType This returns the account level service type
present in
PServicesData |
boolean |
getAllowsChildren()
getAllowsChildren will return true if children are allowed
|
TreeNode |
getChildAt(int index)
Returns the child
TreeNode at index childIndex. |
int |
getChildCount()
getChildCount is a overridden method.
|
int |
getIndex(TreeNode child)
Returns the index of
node in the receivers children. |
TreeNode |
getParent()
Returns the parent
TreeNode of the receiver. |
boolean |
isLeaf()
Returns true if the receiver is a leaf.
|
void |
removeEmptyServices()
removeEmptyServices will remove services which dont contain any service
instances
|
public void clear()
public PServiceType getAccountLevelServiceType()
PServicesDatapublic void addServiceType(PServiceType serviceType)
PServiceType datastructure to
PservicesDataserviceType - PServiceTypepublic int getChildCount()
PServiceTypegetChildCount in interface TreeNodepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodepublic boolean isLeaf()
public Enumeration children()
Enumeration.public TreeNode getParent()
TreeNode of the receiver.public TreeNode getChildAt(int index)
TreeNode at index childIndex.getChildAt in interface TreeNodeindex - intpublic int getIndex(TreeNode child)
node in the receivers children. If the
receiver does not contain node, -1 will be returned.public void removeEmptyServices()
Copyright © 2003, 2023, Oracle and/or its affiliates.