public class Link extends Object
Modifier | Constructor and Description |
---|---|
protected |
Link() |
|
Link(URI href) |
|
Link(URI href,
String rel) |
|
Link(URI href,
String rel,
String type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
URI |
getHref()
The URI reference by this link
|
String |
getRel()
The relationship this link holds to its parent object
|
String |
getType()
The type of link
|
int |
hashCode() |
void |
setHref(URI href) |
void |
setRel(String rel) |
void |
setType(String type) |
String |
toString() |
protected Link()
public Link(URI href)
public URI getHref()
public void setHref(URI href)
public String getRel()
public void setRel(String rel)
public String getType()
public void setType(String type)
Copyright © 2017 Zanata Project. All rights reserved.