public class ReferenceHolder extends Object implements PathComponent
Constructor and Description |
---|
ReferenceHolder()
Constructor.
|
ReferenceHolder(String name,
String type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of the reference.
|
String |
getType()
Get the type of the reference.
|
void |
setName(String name)
Set the name of the reference.
|
void |
setType(String type)
Set the type of the reference.
|
String |
toString() |
public ReferenceHolder(String name, String type)
name
- the name of the reference.type
- the type of the reference.public ReferenceHolder()
public String getName()
public void setName(String name)
name
- the name.public String getType()
public void setType(String type)
type
- the type.