public class CompanyType extends Object implements 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 List<JAXBElement<? extends Serializable>> |
content |
| Constructor and Description |
|---|
CompanyType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
List<JAXBElement<? extends Serializable>> |
getContent()
Obtiene el resto del modelo de contenido.
|
String |
toString() |
CompanyType |
withContent(Collection<JAXBElement<? extends Serializable>> values) |
CompanyType |
withContent(JAXBElement<? extends Serializable>... values) |
protected List<JAXBElement<? extends Serializable>> content
public List<JAXBElement<? extends 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 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic CompanyType withContent(JAXBElement<? extends Serializable>... values)
public CompanyType withContent(Collection<JAXBElement<? extends Serializable>> values)
Copyright © 2014. All Rights Reserved.