Package ejava.projects.eleague.dto
Class Team
- java.lang.Object
-
- ejava.projects.eleague.dto.ReferencedType
-
- ejava.projects.eleague.dto.Team
-
public class Team extends ReferencedType
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://ejava.info/eLeague/1.0.2009.1}ReferencedType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}token"/> <element name="contact-role" type="{http://ejava.info/eLeague/1.0.2009.1}ContactRoleType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ContactRoleType>
contactRole
protected long
id
protected String
name
-
Fields inherited from class ejava.projects.eleague.dto.ReferencedType
refid
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContactRoleType>
getContactRole()
Gets the value of the contactRole property.long
getId()
Gets the value of the id property.String
getName()
Gets the value of the name property.void
setId(long value)
Sets the value of the id property.void
setName(String value)
Sets the value of the name property.-
Methods inherited from class ejava.projects.eleague.dto.ReferencedType
getRefid, setRefid
-
-
-
-
Field Detail
-
name
protected String name
-
contactRole
protected List<ContactRoleType> contactRole
-
id
protected long id
-
-
Constructor Detail
-
Team
public Team()
Default no-arg constructor
-
Team
public Team(String refid, String name, List<ContactRoleType> contactRole, long id)
Fully-initialising value constructor
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getContactRole
public List<ContactRoleType> getContactRole()
Gets the value of the contactRole 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 contactRole property.For example, to add a new item, do as follows:
getContactRole().add(newItem);
Objects of the following type(s) are allowed in the list
ContactRoleType
-
getId
public long getId()
Gets the value of the id property.
-
setId
public void setId(long value)
Sets the value of the id property.
-
-