Class XmlType
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlType
-
public class XmlType extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" /> <attribute name="factory-class" type="{http://www.w3.org/2001/XMLSchema}string" default="jakarta.xml.bind.annotation.XmlType.DEFAULT" /> <attribute name="factory-method" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="prop-order"> <simpleType> <list itemType="{http://www.w3.org/2001/XMLSchema}string" /> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description XmlType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFactoryClass()Gets the value of the factoryClass property.StringgetFactoryMethod()Gets the value of the factoryMethod property.StringgetName()Gets the value of the name property.StringgetNamespace()Gets the value of the namespace property.List<String>getPropOrder()Gets the value of the propOrder property.booleanisSetPropOrder()voidsetFactoryClass(String value)Sets the value of the factoryClass property.voidsetFactoryMethod(String value)Sets the value of the factoryMethod property.voidsetName(String value)Sets the value of the name property.voidsetNamespace(String value)Sets the value of the namespace property.
-
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getNamespace
public String getNamespace()
Gets the value of the namespace property.- Returns:
- possible object is
String
-
setNamespace
public void setNamespace(String value)
Sets the value of the namespace property.- Parameters:
value- allowed object isString
-
getFactoryClass
public String getFactoryClass()
Gets the value of the factoryClass property.- Returns:
- possible object is
String
-
setFactoryClass
public void setFactoryClass(String value)
Sets the value of the factoryClass property.- Parameters:
value- allowed object isString
-
getFactoryMethod
public String getFactoryMethod()
Gets the value of the factoryMethod property.- Returns:
- possible object is
String
-
setFactoryMethod
public void setFactoryMethod(String value)
Sets the value of the factoryMethod property.- Parameters:
value- allowed object isString
-
getPropOrder
public List<String> getPropOrder()
Gets the value of the propOrder 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
setmethod for the propOrder property.For example, to add a new item, do as follows:
getPropOrder().add(newItem);Objects of the following type(s) are allowed in the list
String
-
isSetPropOrder
public boolean isSetPropOrder()
-
-