Package com.ads.api.beans.common
Class Node
java.lang.Object
com.ads.api.beans.common.Node
- Direct Known Subclasses:
AssetType,BasicNode,BusinessObject,Catalog,Category,Codeset,CodeValue,Mapping,MappingSpecificationRow,Project,Role,SMColumn,SMEnvironment,SMSystem,SMTable,Subject,Tag
This class provides some beans control methods related to Node and its
details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThese constants are used to specify the Depth such as NAMES, NAMES_IDS, DETAILS, DETAILS_DOCUMENTS, DETAILS_PROJECT_RESOURCES, ALL.static enumstatic enumThese constants are used to specify the NodeType such as Table, column, Project, Subject, Mapping, Component, Environment and Field.static enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildNode(String name, Node node) Adds the childNode to the Node specified as parameter.Returns childNodes of the Node.Returns nodeId.Returns NodeType of the Node.intvoidsetChildNodes(HashMap<String, Node> hmNodes) Method sets the childNodes as specified.voidsetEndPointType(APIConstants.EndPointType endPointType) voidMethod sets the nodeId as specified.voidsetNodeType(Node.NodeType nodeType) Method sets the NodeType as specified.voidsetObjectTypeId(int objectTypeId)
-
Constructor Details
-
Node
public Node() -
Node
-
-
Method Details
-
getNodeId
Returns nodeId.- Returns:
- nodeId String
-
setNodeId
Method sets the nodeId as specified.- Parameters:
nodeId- String
-
getNodeType
Returns NodeType of the Node.- Returns:
- nodeType NodeType
-
setNodeType
Method sets the NodeType as specified.- Parameters:
nodeType- NodeType
-
getChildNodes
Returns childNodes of the Node.- Returns:
- childNodes Collection.
-
addChildNode
Adds the childNode to the Node specified as parameter.- Parameters:
name- Stringnode- Node
-
setChildNodes
Method sets the childNodes as specified.- Parameters:
hmNodes- HashMap
-
getEndPointType
-
setEndPointType
-
getObjectTypeId
public int getObjectTypeId()- Returns:
- the objectTypeId
-
setObjectTypeId
public void setObjectTypeId(int objectTypeId) - Parameters:
objectTypeId- the objectTypeId to set
-