diff options
| author | ShazaAli <shazamamdouh@aucegypt.edu> | 2024-12-02 21:47:50 -0500 |
|---|---|---|
| committer | ShazaAli <shazamamdouh@aucegypt.edu> | 2024-12-02 22:15:51 -0500 |
| commit | bf496d8917b5427508b842823f67a1bef5621938 (patch) | |
| tree | 030e1833badc6cdd5c393b09275bf583335a6c4b /src/main/java/derms/replica1/jaxws/SwapResource.java | |
| parent | 674de6113031aec7fe16d75f86e48907581a0f62 (diff) | |
| download | soen423-bf496d8917b5427508b842823f67a1bef5621938.zip | |
replica 1 and parallel FE
Diffstat (limited to 'src/main/java/derms/replica1/jaxws/SwapResource.java')
| -rw-r--r-- | src/main/java/derms/replica1/jaxws/SwapResource.java | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/src/main/java/derms/replica1/jaxws/SwapResource.java b/src/main/java/derms/replica1/jaxws/SwapResource.java new file mode 100644 index 0000000..e61f8f7 --- /dev/null +++ b/src/main/java/derms/replica1/jaxws/SwapResource.java @@ -0,0 +1,168 @@ + +package derms.replica1.jaxws; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for swapResource complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="swapResource"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="coordinatorID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="oldResourceID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="oldResourceType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="newResourceID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="newResourceType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "swapResource", propOrder = { + "coordinatorID", + "oldResourceID", + "oldResourceType", + "newResourceID", + "newResourceType" +}) +public class SwapResource { + + protected String coordinatorID; + protected String oldResourceID; + protected String oldResourceType; + protected String newResourceID; + protected String newResourceType; + + /** + * Gets the value of the coordinatorID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCoordinatorID() { + return coordinatorID; + } + + /** + * Sets the value of the coordinatorID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCoordinatorID(String value) { + this.coordinatorID = value; + } + + /** + * Gets the value of the oldResourceID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOldResourceID() { + return oldResourceID; + } + + /** + * Sets the value of the oldResourceID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOldResourceID(String value) { + this.oldResourceID = value; + } + + /** + * Gets the value of the oldResourceType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOldResourceType() { + return oldResourceType; + } + + /** + * Sets the value of the oldResourceType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOldResourceType(String value) { + this.oldResourceType = value; + } + + /** + * Gets the value of the newResourceID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNewResourceID() { + return newResourceID; + } + + /** + * Sets the value of the newResourceID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNewResourceID(String value) { + this.newResourceID = value; + } + + /** + * Gets the value of the newResourceType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNewResourceType() { + return newResourceType; + } + + /** + * Sets the value of the newResourceType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNewResourceType(String value) { + this.newResourceType = value; + } + +} |