org.apache.axis.message.addressing
Class Relationship

java.lang.Object
  extended by org.apache.axis.message.addressing.Relationship
Direct Known Subclasses:
RelatesTo

public class Relationship
extends java.lang.Object

Java content class for Relationship complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 84)

 <complexType name="Relationship">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
       <attribute name="RelationshipType"
                  type="{http://www.w3.org/2001/XMLSchema}QName" />
     </extension>
   </simpleContent>
 </complexType>
 

Version:
$Revision: 14 $
Author:
Davanum Srinivas

Constructor Summary
Relationship()
          Constructor Relationship.
Relationship(java.lang.String uri)
          Constructor Relationship.
Relationship(java.lang.String uri, java.lang.String type)
          Constructor Relationship.
Relationship(org.apache.axis.types.URI uri, javax.xml.namespace.QName type)
          Constructor Relationship.
 
Method Summary
 javax.xml.namespace.QName getType()
          Method getType.
 java.lang.String getTypeIRI()
          Gets the type IRI.
 org.apache.axis.types.URI getURI()
          Method getURI.
 void setType(javax.xml.namespace.QName type)
          Method set_type.
 void setTypeIRI(java.lang.String typeIRI)
          Sets the type IRI.
 void setURI(org.apache.axis.types.URI uri)
          Method setURI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Relationship

public Relationship()
Constructor Relationship.


Relationship

public Relationship(java.lang.String uri)
             throws org.apache.axis.types.URI.MalformedURIException
Constructor Relationship.

Parameters:
uri - Relationship type
Throws:
URI.MalformedURIException - If the URI is not valid

Relationship

public Relationship(java.lang.String uri,
                    java.lang.String type)
             throws org.apache.axis.types.URI.MalformedURIException
Constructor Relationship.

Parameters:
uri - Relationship URI
type - Relationship type
Throws:
URI.MalformedURIException - If any of the URIs is invalid

Relationship

public Relationship(org.apache.axis.types.URI uri,
                    javax.xml.namespace.QName type)
Constructor Relationship.

Parameters:
uri - Relationship URI
type - Relationship type
Method Detail

getType

public javax.xml.namespace.QName getType()
Method getType.

Returns:
The relationship type

getTypeIRI

public java.lang.String getTypeIRI()
Gets the type IRI.

Returns:
The type IRI

getURI

public org.apache.axis.types.URI getURI()
Method getURI.

Returns:
The URI

setType

public void setType(javax.xml.namespace.QName type)
Method set_type.

Parameters:
type - The relationship type

setTypeIRI

public void setTypeIRI(java.lang.String typeIRI)
Sets the type IRI.

Parameters:
typeIRI - The type IRI

setURI

public void setURI(org.apache.axis.types.URI uri)
Method setURI.

Parameters:
uri - The URI


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.