com.ebmwebsourcing.wsstar.dm.org.oasis_open.docs.wsdm.muws2_2
Class RelationshipType

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.dm.org.oasis_open.docs.wsdm.muws2_2.RelationshipType
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class RelationshipType
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for RelationshipType complex type.

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

 <complexType name="RelationshipType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://docs.oasis-open.org/wsdm/muws2-2.xsd}Name" minOccurs="0"/>
         <element ref="{http://docs.oasis-open.org/wsdm/muws2-2.xsd}Type"/>
         <element ref="{http://docs.oasis-open.org/wsdm/muws2-2.xsd}Participant" maxOccurs="unbounded" minOccurs="2"/>
         <element name="AccessEndpointReference" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EndpointReferenceType accessEndpointReference
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String name
           
protected  java.util.List<RelationshipParticipantType> participant
           
protected  RelationshipTypeType type
           
 
Constructor Summary
RelationshipType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 EndpointReferenceType getAccessEndpointReference()
          Gets the value of the accessEndpointReference property.
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.lang.String getName()
          Gets the value of the name property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 java.util.List<RelationshipParticipantType> getParticipant()
          Gets the value of the participant property.
 RelationshipTypeType getType()
          Gets the value of the type property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setAccessEndpointReference(EndpointReferenceType value)
          Sets the value of the accessEndpointReference property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setType(RelationshipTypeType value)
          Sets the value of the type property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

type

protected RelationshipTypeType type

participant

protected java.util.List<RelationshipParticipantType> participant

accessEndpointReference

protected EndpointReferenceType accessEndpointReference

any

protected java.util.List<java.lang.Object> any
Constructor Detail

RelationshipType

public RelationshipType()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getType

public RelationshipTypeType getType()
Gets the value of the type property.

Returns:
possible object is RelationshipTypeType

setType

public void setType(RelationshipTypeType value)
Sets the value of the type property.

Parameters:
value - allowed object is RelationshipTypeType

getParticipant

public java.util.List<RelationshipParticipantType> getParticipant()
Gets the value of the participant property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the participant property.

For example, to add a new item, do as follows:

    getParticipant().add(newItem);
 

Objects of the following type(s) are allowed in the list RelationshipParticipantType


getAccessEndpointReference

public EndpointReferenceType getAccessEndpointReference()
Gets the value of the accessEndpointReference property.

Returns:
possible object is EndpointReferenceType

setAccessEndpointReference

public void setAccessEndpointReference(EndpointReferenceType value)
Sets the value of the accessEndpointReference property.

Parameters:
value - allowed object is EndpointReferenceType

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Element


getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

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

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

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

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

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


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.