xuml.tools.miuml.metamodel.jaxb.Perspective Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of miuml-jaxb Show documentation
Show all versions of miuml-jaxb Show documentation
Contains miUML metamodel schema and xuml-tools extensions schema and generates JAXB classes from those schemas.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.10.09 at 07:15:51 PM AEDT
//
package xuml.tools.miuml.metamodel.jaxb;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Removed Side attribute because some subclasses do not
* required it, e.g. ActivePerspective and PassivePerspective
*
*
* Java class for Perspective complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Perspective">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Phrase" use="required" type="{http://www.miuml.org/metamodel}Phrase" />
* <attribute name="ViewedClass" use="required" type="{http://www.miuml.org/metamodel}Name" />
* <attribute name="OnePerspective" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="Conditional" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="Multiplicity" type="{http://www.miuml.org/metamodel}Multiplicity" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Perspective")
@XmlSeeAlso({
SymmetricPerspective.class,
AsymmetricPerspective.class
})
public class Perspective {
@XmlAttribute(name = "Phrase", required = true)
protected String phrase;
@XmlAttribute(name = "ViewedClass", required = true)
protected String viewedClass;
@XmlAttribute(name = "OnePerspective", required = true)
protected boolean onePerspective;
@XmlAttribute(name = "Conditional", required = true)
protected boolean conditional;
@XmlAttribute(name = "Multiplicity")
protected Multiplicity multiplicity;
/**
* Gets the value of the phrase property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhrase() {
return phrase;
}
/**
* Sets the value of the phrase property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhrase(String value) {
this.phrase = value;
}
/**
* Gets the value of the viewedClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getViewedClass() {
return viewedClass;
}
/**
* Sets the value of the viewedClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setViewedClass(String value) {
this.viewedClass = value;
}
/**
* Gets the value of the onePerspective property.
*
*/
public boolean isOnePerspective() {
return onePerspective;
}
/**
* Sets the value of the onePerspective property.
*
*/
public void setOnePerspective(boolean value) {
this.onePerspective = value;
}
/**
* Gets the value of the conditional property.
*
*/
public boolean isConditional() {
return conditional;
}
/**
* Sets the value of the conditional property.
*
*/
public void setConditional(boolean value) {
this.conditional = value;
}
/**
* Gets the value of the multiplicity property.
*
* @return
* possible object is
* {@link Multiplicity }
*
*/
public Multiplicity getMultiplicity() {
return multiplicity;
}
/**
* Sets the value of the multiplicity property.
*
* @param value
* allowed object is
* {@link Multiplicity }
*
*/
public void setMultiplicity(Multiplicity value) {
this.multiplicity = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy