public abstract class TCComponent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
content
a TCComponent is only supposed to have String content
|
protected double |
id
the id of a TC component is represented by a String
|
Constructor and Description |
---|
TCComponent() |
TCComponent(double id) |
TCComponent(double id,
java.lang.Object content) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
clone() |
boolean |
equals(java.lang.Object anotherObject) |
java.lang.Object |
getContent() |
double |
getId() |
boolean |
hasContent() |
void |
setContent(java.lang.Object content) |
void |
setId(double id) |
java.lang.String |
toString() |
protected double id
protected java.lang.Object content
public TCComponent()
public TCComponent(double id)
public TCComponent(double id, java.lang.Object content)
public double getId()
public void setId(double id)
public java.lang.Object getContent()
public void setContent(java.lang.Object content)
public boolean hasContent()
public boolean equals(java.lang.Object anotherObject)
equals
in class java.lang.Object
public abstract java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2023. All rights reserved.