public abstract class AbstractPlantUMLClassesDiagramRelation extends Object implements PlantUMLClassesDiagramRelation
PlantUMLClassesDiagramRelation interface.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPlantUMLClassesDiagramRelation(PlantUMLClassesDiagramElement firstElt,
PlantUMLClassesDiagramElement secondElt,
PlantUMLClassesDiagramRelationType relationType)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PlantUMLClassesDiagramRelation o) |
PlantUMLClassesDiagramRelation |
deepClone() |
boolean |
equals(Object obj) |
PlantUMLClassesDiagramElement |
getFirstElement()
Gets the first element of the relation.
|
String |
getPlantUMLTextDescription()
Returns the
String representing the object as a plantUML text. |
PlantUMLClassesDiagramElement |
getSecondElement()
Gets the second element of the relation.
|
PlantUMLClassesDiagramRelationType |
getType()
Gets the relation type used in the plantUML language.
|
int |
hashCode() |
String |
toString() |
protected AbstractPlantUMLClassesDiagramRelation(PlantUMLClassesDiagramElement firstElt, PlantUMLClassesDiagramElement secondElt, PlantUMLClassesDiagramRelationType relationType)
firstElt - The first element of the relation, mustn't be null nor empty.secondElt - The second element of the relation, mustn't be null nor empty.relationType - The relation type used in the plantUML language, mustn't be null.public int compareTo(PlantUMLClassesDiagramRelation o)
compareTo in interface Comparable<PlantUMLClassesDiagramRelation>public PlantUMLClassesDiagramRelation deepClone()
deepClone in interface net.sourceforge.plantumldependency.common.clone.DeepCloneable<PlantUMLClassesDiagramRelation>public PlantUMLClassesDiagramElement getFirstElement()
getFirstElement in interface PlantUMLClassesDiagramRelationpublic String getPlantUMLTextDescription()
String representing the object as a plantUML text. Following the object,
it is usually a text corresponding to one of the plantUML diagram.getPlantUMLTextDescription in interface WithDescriptionString representing the object as a plantUML text description.public PlantUMLClassesDiagramElement getSecondElement()
getSecondElement in interface PlantUMLClassesDiagramRelationpublic PlantUMLClassesDiagramRelationType getType()
getType in interface PlantUMLClassesDiagramRelationCopyright © 2014 Sourceforge. All rights reserved.