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"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
companyId |
protected String |
name |
protected List<ProductType> |
products |
| 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) |
String |
getCompanyId()
Obtiene el valor de la propiedad companyId.
|
String |
getName()
Obtiene el valor de la propiedad name.
|
List<ProductType> |
getProducts()
Gets the value of the products property.
|
boolean |
isSetCompanyId() |
boolean |
isSetName() |
boolean |
isSetProducts() |
void |
setCompanyId(String value)
Define el valor de la propiedad companyId.
|
void |
setName(String value)
Define el valor de la propiedad name.
|
String |
toString() |
void |
unsetProducts() |
CompanyType |
withCompanyId(String value) |
CompanyType |
withName(String value) |
CompanyType |
withProducts(Collection<ProductType> values) |
CompanyType |
withProducts(ProductType... values) |
protected String companyId
protected String name
protected List<ProductType> products
public String getCompanyId()
Stringpublic void setCompanyId(String value)
value - allowed object is
Stringpublic boolean isSetCompanyId()
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public List<ProductType> getProducts()
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 products property.
For example, to add a new item, do as follows:
getProducts().add(newItem);
Objects of the following type(s) are allowed in the list
ProductType
public boolean isSetProducts()
public void unsetProducts()
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 withCompanyId(String value)
public CompanyType withName(String value)
public CompanyType withProducts(ProductType... values)
public CompanyType withProducts(Collection<ProductType> values)
Copyright © 2015. All Rights Reserved.