|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.datatransformation.datatransformationlibrary.model.ContentType
org.gcube.datatransformation.datatransformationlibrary.model.graph.TNode
public class TNode
Node of the transformationUnit's graph.
| Constructor Summary | |
|---|---|
TNode()
Creates a new TNode. |
|
TNode(ContentType contentType)
Instantiates a TNode from a content type. |
|
TNode(String mimeType,
List<Parameter> contentTypeParameters)
Creates a new TNode. |
|
| Method Summary | |
|---|---|
boolean |
addEdge(TEdge edge)
Adds a new edge to this node. |
boolean |
equals(Object obj)
|
ArrayList<TEdge> |
getEdges()
Returns the edges of this node to other nodes of the graph. |
boolean |
hasEdges()
Returns true if there are edges from this node to another one. |
int |
sizeOfEdges()
Returns the amount of the edges of this node. |
| Methods inherited from class org.gcube.datatransformation.datatransformationlibrary.model.ContentType |
|---|
addContentTypeParameters, clone, fromDOM, fromXML, gensupport, gensupport, getContentTypeParameters, getMimeType, hashCode, setContentTypeParameters, setMimeType, support, support, supportAndFillUnbound, toDOM, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TNode()
public TNode(ContentType contentType)
contentType - The content type of the TNode.
public TNode(String mimeType,
List<Parameter> contentTypeParameters)
mimeType - The mimetype of the node.contentTypeParameters - The content type parameters of the node.| Method Detail |
|---|
public ArrayList<TEdge> getEdges()
public boolean addEdge(TEdge edge)
edge - The edge to be added.
public boolean hasEdges()
public int sizeOfEdges()
public boolean equals(Object obj)
equals in class ContentTypeobj - The object to be checked.
ContentType.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||