com.netgrif.application.engine.importer.model.Arc Maven / Gradle / Ivy
Show all versions of application-engine Show documentation
package com.netgrif.application.engine.importer.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for arc complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="arc">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="type" type="{}arc_type"/>
* <element name="sourceId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="destinationId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="multiplicity" type="{}nonNegativeInteger"/>
* <element name="reference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="breakpoint" type="{}breakpoint" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "arc", propOrder = {
"id",
"type",
"sourceId",
"destinationId",
"multiplicity",
"reference",
"breakpoint"
})
public class Arc {
@XmlElement(required = true)
protected String id;
@XmlElement(required = true, defaultValue = "regular")
@XmlSchemaType(name = "string")
protected ArcType type;
@XmlElement(required = true)
protected String sourceId;
@XmlElement(required = true)
protected String destinationId;
protected int multiplicity;
protected String reference;
protected List breakpoint;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link ArcType }
*
*/
public ArcType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link ArcType }
*
*/
public void setType(ArcType value) {
this.type = value;
}
/**
* Gets the value of the sourceId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceId() {
return sourceId;
}
/**
* Sets the value of the sourceId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceId(String value) {
this.sourceId = value;
}
/**
* Gets the value of the destinationId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDestinationId() {
return destinationId;
}
/**
* Sets the value of the destinationId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDestinationId(String value) {
this.destinationId = value;
}
/**
* Gets the value of the multiplicity property.
*
*/
public int getMultiplicity() {
return multiplicity;
}
/**
* Sets the value of the multiplicity property.
*
*/
public void setMultiplicity(int value) {
this.multiplicity = value;
}
/**
* Gets the value of the reference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReference() {
return reference;
}
/**
* Sets the value of the reference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReference(String value) {
this.reference = value;
}
/**
* Gets the value of the breakpoint 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 breakpoint property.
*
*
* For example, to add a new item, do as follows:
*
* getBreakpoint().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Breakpoint }
*
*
*/
public List getBreakpoint() {
if (breakpoint == null) {
breakpoint = new ArrayList();
}
return this.breakpoint;
}
}