public class CompanyType
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para CompanyType complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType name="CompanyType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CompanyId" type="{http://www.w3.org/2001/XMLSchema}ID"/>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Products" type="{http://www.fispace.eu/domain/ag}ProductType" maxOccurs="unbounded"/>
<element name="Products" type="{http://www.fispace.eu/domain/ag}ProductType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<javax.xml.bind.JAXBElement<? extends java.io.Serializable>> |
content |
| Constructor and Description |
|---|
CompanyType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.util.List<javax.xml.bind.JAXBElement<? extends java.io.Serializable>> |
getContent()
Obtiene el resto del modelo de contenido.
|
java.lang.String |
toString() |
CompanyType |
withContent(java.util.Collection<javax.xml.bind.JAXBElement<? extends java.io.Serializable>> values) |
CompanyType |
withContent(javax.xml.bind.JAXBElement<? extends java.io.Serializable>... values) |
protected java.util.List<javax.xml.bind.JAXBElement<? extends java.io.Serializable>> content
public java.util.List<javax.xml.bind.JAXBElement<? extends java.io.Serializable>> getContent()
Ha obtenido esta propiedad que permite capturar todo por el siguiente motivo: El nombre de campo "Products" se está utilizando en dos partes diferentes de un esquema. Consulte: línea 168 de file:/home/perezdf/desarrollo/source/fispace/default/core/api/src/main/resources/schema/domain/ag/AGModel.xsd línea 167 de file:/home/perezdf/desarrollo/source/fispace/default/core/api/src/main/resources/schema/domain/ag/AGModel.xsd
Para deshacerse de esta propiedad, aplique una personalización de propiedad a una de las dos declaraciones siguientes para cambiarles de nombre: Gets the value of the content 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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<ProductType>
JAXBElement<String>
JAXBElement<String>
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic CompanyType withContent(javax.xml.bind.JAXBElement<? extends java.io.Serializable>... values)
public CompanyType withContent(java.util.Collection<javax.xml.bind.JAXBElement<? extends java.io.Serializable>> values)
Copyright © 2014. All Rights Reserved.