Class Press
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">
<sequence>
<element ref="{}Name"/>
<element ref="{}Contact" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{}Address" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{}Tele" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element ref="{}Country"/>
<element ref="{}CountryId"/>
</choice>
<element ref="{}ResultSelection" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{}ModifyDate" minOccurs="0"/>
</sequence>
<attribute name="mediaType" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="paper"/>
<enumeration value="tv"/>
<enumeration value="radio"/>
<enumeration value="magazine"/>
<enumeration value="web"/>
<enumeration value="other"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Countryprotected CountryIdprotected Stringprotected ModifyDateprotected Nameprotected List<ResultSelection> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the address property.Gets the value of the contact property.Gets the value of the country property.Gets the value of the countryId property.Gets the value of the mediaType property.Gets the value of the modifyDate property.getName()Gets the value of the name property.Gets the value of the resultSelection property.getTele()Gets the value of the tele property.voidsetCountry(Country value) Sets the value of the country property.voidsetCountryId(CountryId value) Sets the value of the countryId property.voidsetMediaType(String value) Sets the value of the mediaType property.voidsetModifyDate(ModifyDate value) Sets the value of the modifyDate property.voidSets the value of the name property.
-
Field Details
-
name
-
contact
-
address
-
tele
-
country
-
countryId
-
resultSelection
-
modifyDate
-
mediaType
-
-
Constructor Details
-
Press
public Press()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
Name
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isName
-
getContact
Gets the value of the contact 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 contact property.For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
Contact- Returns:
- The value of the contact property.
-
getAddress
Gets the value of the address 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 address property.For example, to add a new item, do as follows:
getAddress().add(newItem);
Objects of the following type(s) are allowed in the list
Address- Returns:
- The value of the address property.
-
getTele
Gets the value of the tele 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 tele property.For example, to add a new item, do as follows:
getTele().add(newItem);
Objects of the following type(s) are allowed in the list
Tele- Returns:
- The value of the tele property.
-
getCountry
Gets the value of the country property.- Returns:
- possible object is
Country
-
setCountry
Sets the value of the country property.- Parameters:
value- allowed object isCountry
-
getCountryId
Gets the value of the countryId property.- Returns:
- possible object is
CountryId
-
setCountryId
Sets the value of the countryId property.- Parameters:
value- allowed object isCountryId
-
getResultSelection
Gets the value of the resultSelection 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 resultSelection property.For example, to add a new item, do as follows:
getResultSelection().add(newItem);
Objects of the following type(s) are allowed in the list
ResultSelection- Returns:
- The value of the resultSelection property.
-
getModifyDate
Gets the value of the modifyDate property.- Returns:
- possible object is
ModifyDate
-
setModifyDate
Sets the value of the modifyDate property.- Parameters:
value- allowed object isModifyDate
-
getMediaType
Gets the value of the mediaType property.- Returns:
- possible object is
String
-
setMediaType
Sets the value of the mediaType property.- Parameters:
value- allowed object isString
-