//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-793
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.07.03 at 05:59:50 PM CEST
//
package com.sun.jersey.json.impl.rim;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
*
* Represents an association or relationship between two RegistryObjects.
* The sourceObject is id of the sourceObject in association
* The targetObject is id of the targetObject in association
*
*
* <p>Java class for AssociationType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="AssociationType">
* <complexContent>
* <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}RegistryObjectType">
* <attribute name="type" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
* <attribute name="sourceObject" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
* <attribute name="targetObject" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AssociationType")
public class AssociationType
extends RegistryObjectType
{
@XmlAttribute(required = true)
protected String type;
@XmlAttribute(required = true)
protected String sourceObject;
@XmlAttribute(required = true)
protected String targetObject;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the sourceObject property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceObject() {
return sourceObject;
}
/**
* Sets the value of the sourceObject property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceObject(String value) {
this.sourceObject = value;
}
/**
* Gets the value of the targetObject property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetObject() {
return targetObject;
}
/**
* Sets the value of the targetObject property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetObject(String value) {
this.targetObject = value;
}
}