Class Link


  • public class Link
    extends java.lang.Object
    Author:
    alee
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String href  
      protected java.lang.String relationship  
      protected java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      Link()  
      Link​(java.lang.String relationship, java.lang.String href, java.lang.String type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHref()  
      java.lang.String getRelationship()  
      java.lang.String getType()  
      void setHref​(java.lang.String href)  
      void setRelationship​(java.lang.String relationship)  
      void setType​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • relationship

        protected java.lang.String relationship
      • href

        protected java.lang.String href
      • type

        protected java.lang.String type
    • Constructor Detail

      • Link

        public Link()
      • Link

        public Link​(java.lang.String relationship,
                    java.lang.String href,
                    java.lang.String type)
    • Method Detail

      • getRelationship

        public java.lang.String getRelationship()
        Returns:
        the relationship
      • setRelationship

        public void setRelationship​(java.lang.String relationship)
        Parameters:
        relationship - the relationship to set
      • getHref

        public java.lang.String getHref()
        Returns:
        the href
      • setHref

        public void setHref​(java.lang.String href)
        Parameters:
        href - the href to set
      • getType

        public java.lang.String getType()
        Returns:
        the type
      • setType

        public void setType​(java.lang.String type)
        Parameters:
        type - the type to set