Class Container
- java.lang.Object
-
- org.eclipse.epsilon.egl.traceability.Content<Template>
-
- org.eclipse.epsilon.egl.traceability.Container
-
- Direct Known Subclasses:
OutputFile
,Template
public abstract class Container extends Content<Template>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Collection<java.lang.Object>
contents
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.Object child)
boolean
equals(java.lang.Object o)
java.util.Collection<?>
getChildren()
java.lang.String
getName()
java.net.URI
getURI()
boolean
hasChildren()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Container
protected Container(Template parent, java.lang.String name, java.net.URI uri)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getURI
public java.net.URI getURI()
-
add
public void add(java.lang.Object child)
-
getChildren
public java.util.Collection<?> getChildren()
-
hasChildren
public boolean hasChildren()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-