com.slimpay
Class Link

java.lang.Object
  extended by com.slimpay.Link

public class Link
extends Object


Field Summary
protected  org.json.JSONObject attributes
           
protected  String rel
           
 
Constructor Summary
Link()
           
Link(String rel)
           
Link(String rel, org.json.JSONObject attributes)
           
 
Method Summary
 String getAttribute(String key)
           
 org.json.JSONObject getAttributes()
           
 String getRel()
           
 void setAttribute(String key, String value)
           
 void setAttributes(org.json.JSONObject attributes)
           
 void setRel(String rel)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rel

protected String rel

attributes

protected org.json.JSONObject attributes
Constructor Detail

Link

public Link()

Link

public Link(String rel)

Link

public Link(String rel,
            org.json.JSONObject attributes)
Method Detail

getRel

public String getRel()

setRel

public void setRel(String rel)

getAttributes

public org.json.JSONObject getAttributes()

setAttributes

public void setAttributes(org.json.JSONObject attributes)

getAttribute

public String getAttribute(String key)

setAttribute

public void setAttribute(String key,
                         String value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All rights reserved.