com.ibm.ram.internal.jaxb
Class Link<T>

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.Link<T>
Direct Known Subclasses:
RelationshipLink

public class Link<T>
extends java.lang.Object

Java class for Link complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Link">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://purl.org/dc/elements/1.1/}title"/>
         <element name="image" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
       </sequence>
       <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String href
           
protected  java.lang.String image
           
protected  java.lang.String rel
           
protected  SimpleLiteral title
           
 
Constructor Summary
Link()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getImage()
          Gets the value of the image property.
 java.lang.String getRel()
          Gets the value of the rel property.
 SimpleLiteral getTitle()
          Gets the value of the title property.
 T getValue()
           
 int hashCode()
           
 boolean isValueSet()
           
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setImage(java.lang.String value)
          Sets the value of the image property.
 void setRel(java.lang.String value)
          Sets the value of the rel property.
 void setTitle(SimpleLiteral value)
          Sets the value of the title property.
 void setValue(T newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

title

protected SimpleLiteral title

image

protected java.lang.String image

href

protected java.lang.String href

rel

protected java.lang.String rel
Constructor Detail

Link

public Link()
Method Detail

getTitle

public SimpleLiteral getTitle()
Gets the value of the title property.

Returns:
possible object is SimpleLiteral

setTitle

public void setTitle(SimpleLiteral value)
Sets the value of the title property.

Parameters:
value - allowed object is SimpleLiteral

getImage

public java.lang.String getImage()
Gets the value of the image property.

Returns:
possible object is String

setImage

public void setImage(java.lang.String value)
Sets the value of the image property.

Parameters:
value - allowed object is String

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getRel

public java.lang.String getRel()
Gets the value of the rel property.

Returns:
possible object is String

setRel

public void setRel(java.lang.String value)
Sets the value of the rel property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getValue

public T getValue()

setValue

public void setValue(T newValue)

isValueSet

public boolean isValueSet()