public class Relationship extends Object implements Serializable
Constructor and Description |
---|
Relationship()
No argument constructor is necessary for Ant admin utility
|
Relationship(String child,
String parent)
Construct a new relationship given a child and parent name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object thatObj)
Matches the parent and child values from two Relationship entities.
|
String |
getChild()
Return the child name.
|
String |
getParent()
Return the parent name.
|
int |
hashCode()
Compute the hashcode on the parent and child values.
|
void |
setChild(String child)
Set the child name.
|
void |
setParent(String parent)
Set the parent name.
|
String |
toString() |
public Relationship()
public String getChild()
public void setChild(String child)
child
- contains the name of child.public String getParent()
public void setParent(String parent)
parent
- contains the name of parent.public final int hashCode()
public boolean equals(Object thatObj)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621