gov.nasa.pds.registry.model
Class Link

java.lang.Object
  extended by gov.nasa.pds.registry.model.Link

@Embeddable
public class Link
extends Object

Simple class to capture references to be used in HTTP headers or in responses

Author:
pramirez

Constructor Summary
Link()
           
Link(String href, String relationship, String type)
           
 
Method Summary
 String getHref()
           
 String getRelationship()
           
 String getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Link

public Link()

Link

public Link(String href,
            String relationship,
            String type)
Method Detail

getHref

public String getHref()

getRelationship

public String getRelationship()

getType

public String getType()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010–2014 Planetary Data System. All rights reserved.