Package com.adobe.reef.siren
Class Link
- java.lang.Object
-
- com.adobe.reef.siren.Link
-
public final class Link extends java.lang.ObjectALinkrepresents a navigational transition.
-
-
Constructor Summary
Constructors Constructor Description Link(java.lang.String[] rel, java.lang.String href)Constructs a new Link.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetHref()Returns the href attribute.java.lang.String[]getRel()Returns the rel attribute.java.lang.StringgetTitle()Returns the title attribute.java.lang.StringgetType()Returns the type attribute.inthashCode()voidsetHref(java.lang.String href)Sets the href attribute.voidsetRel(java.lang.String[] rel)Sets the rel attribute.voidsetTitle(java.lang.String title)Sets the title attribute.voidsetType(java.lang.String type)Sets the type attribute.java.lang.StringtoString()
-
-
-
Method Detail
-
getRel
public java.lang.String[] getRel()
Returns the rel attribute.- Returns:
-
setRel
public void setRel(java.lang.String[] rel)
Sets the rel attribute.- Parameters:
rel-
-
getHref
public java.lang.String getHref()
Returns the href attribute.- Returns:
-
setHref
public void setHref(java.lang.String href)
Sets the href attribute.- Parameters:
href-
-
getTitle
public java.lang.String getTitle()
Returns the title attribute.- Returns:
-
setTitle
public void setTitle(java.lang.String title)
Sets the title attribute.- Parameters:
title-
-
getType
public java.lang.String getType()
Returns the type attribute.- Returns:
-
setType
public void setType(java.lang.String type)
Sets the type attribute.- Parameters:
type-
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-