Class Organisation
-
- All Implemented Interfaces:
public class Organisation
Information about an organisation, i.e. address, contact person(s) etc. An organisation is a general term including federations, clubs, etc.
Java class for Organisation complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Organisation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Id" type="{http://www.orienteering.org/datastandard/3.0}Id" minOccurs="0"/> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="ShortName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="MediaName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="ParentOrganisationId" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="Country" type="{http://www.orienteering.org/datastandard/3.0}Country" minOccurs="0"/> <element name="Address" type="{http://www.orienteering.org/datastandard/3.0}Address" maxOccurs="unbounded" minOccurs="0"/> <element name="Contact" type="{http://www.orienteering.org/datastandard/3.0}Contact" maxOccurs="unbounded" minOccurs="0"/> <element name="Position" type="{http://www.orienteering.org/datastandard/3.0}GeoPosition" minOccurs="0"/> <element name="Account" type="{http://www.orienteering.org/datastandard/3.0}Account" maxOccurs="unbounded" minOccurs="0"/> <element name="Role" type="{http://www.orienteering.org/datastandard/3.0}Role" maxOccurs="unbounded" minOccurs="0"/> <element name="Logotype" type="{http://www.orienteering.org/datastandard/3.0}Image" maxOccurs="unbounded" minOccurs="0"/> <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/> </sequence> <attribute name="type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="IOF"/> <enumeration value="IOFRegion"/> <enumeration value="NationalFederation"/> <enumeration value="NationalRegion"/> <enumeration value="Club"/> <enumeration value="School"/> <enumeration value="Company"/> <enumeration value="Military"/> <enumeration value="Other"/> </restriction> </simpleType> </attribute> <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Organisation()
-
Method Summary
Modifier and Type Method Description Id
getId()
Gets the value of the id property. void
setId(Id value)
Sets the value of the id property. String
getName()
The full name of the organisation. void
setName(String value)
Sets the value of the name property. String
getShortName()
The short (abbreviated) name of the organisation. void
setShortName(String value)
Sets the value of the shortName property. String
getMediaName()
The name of the organisation as appearing in result lists targeted to media. void
setMediaName(String value)
Sets the value of the mediaName property. BigInteger
getParentOrganisationId()
The id of the parent of this organisation, e.g. void
setParentOrganisationId(BigInteger value)
Sets the value of the parentOrganisationId property. Country
getCountry()
Gets the value of the country property. void
setCountry(Country value)
Sets the value of the country property. List<Address>
getAddress()
Gets the value of the address property. List<Contact>
getContact()
Gets the value of the contact property. GeoPosition
getPosition()
The geographical location of the organisation, e.g. void
setPosition(GeoPosition value)
Sets the value of the position property. List<Account>
getAccount()
Gets the value of the account property. List<Role>
getRole()
Persons having certain roles within the organisation, e.g. List<Image>
getLogotype()
The logotype for the organisation. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. String
getType()
The hierarchical level or type of an organisation. void
setType(String value)
Sets the value of the type property. XMLGregorianCalendar
getModifyTime()
Gets the value of the modifyTime property. void
setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property. -
-
Method Detail
-
setId
void setId(Id value)
Sets the value of the id property.
- Parameters:
value
- allowed object is Id
-
setName
void setName(String value)
Sets the value of the name property.
- Parameters:
value
- allowed object is String
-
getShortName
String getShortName()
The short (abbreviated) name of the organisation.
- Returns:
possibleobject is String
-
setShortName
void setShortName(String value)
Sets the value of the shortName property.
- Parameters:
value
- allowed object is String
-
getMediaName
String getMediaName()
The name of the organisation as appearing in result lists targeted to media.
- Returns:
possibleobject is String
-
setMediaName
void setMediaName(String value)
Sets the value of the mediaName property.
- Parameters:
value
- allowed object is String
-
getParentOrganisationId
BigInteger getParentOrganisationId()
The id of the parent of this organisation, e.g. a regional organisation for a club.
- Returns:
possibleobject is BigInteger
-
setParentOrganisationId
void setParentOrganisationId(BigInteger value)
Sets the value of the parentOrganisationId property.
- Parameters:
value
- allowed object is BigInteger
-
getCountry
Country getCountry()
Gets the value of the country property.
- Returns:
possibleobject is Country
-
setCountry
void setCountry(Country value)
Sets the value of the country property.
- Parameters:
value
- allowed object is Country
-
getAddress
List<Address> 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
set
method 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:
Thevalue of the address property.
-
getContact
List<Contact> 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
set
method 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:
Thevalue of the contact property.
-
getPosition
GeoPosition getPosition()
The geographical location of the organisation, e.g. a city center, an office or a club house.
- Returns:
possibleobject is GeoPosition
-
setPosition
void setPosition(GeoPosition value)
Sets the value of the position property.
- Parameters:
value
- allowed object is GeoPosition
-
getAccount
List<Account> getAccount()
Gets the value of the account 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 account property.For example, to add a new item, do as follows:
getAccount().add(newItem);
Objects of the following type(s) are allowed in the list Account
- Returns:
Thevalue of the account property.
-
getRole
List<Role> getRole()
Persons having certain roles within the organisation, e.g. chairman, secretary, and treasurer. Gets the value of the role 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 role property.For example, to add a new item, do as follows:
getRole().add(newItem);
Objects of the following type(s) are allowed in the list Role
- Returns:
Thevalue of the role property.
-
getLogotype
List<Image> getLogotype()
The logotype for the organisation. Multiple logotypes may be included; in this case, make sure to include width and height attributes. Gets the value of the logotype 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 logotype property.For example, to add a new item, do as follows:
getLogotype().add(newItem);
Objects of the following type(s) are allowed in the list Image
- Returns:
Thevalue of the logotype property.
-
getExtensions
Extensions getExtensions()
Container element for custom elements from other schemas.
- Returns:
possibleobject is Extensions
-
setExtensions
void setExtensions(Extensions value)
Sets the value of the extensions property.
- Parameters:
value
- allowed object is Extensions
-
getType
String getType()
The hierarchical level or type of an organisation.
- Returns:
possibleobject is String
-
setType
void setType(String value)
Sets the value of the type property.
- Parameters:
value
- allowed object is String
-
getModifyTime
XMLGregorianCalendar getModifyTime()
Gets the value of the modifyTime property.
- Returns:
possibleobject is XMLGregorianCalendar
-
setModifyTime
void setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property.
- Parameters:
value
- allowed object is XMLGregorianCalendar
-
-
-
-