com.danube.scrumworks.api2
Class Team

java.lang.Object
  extended by com.danube.scrumworks.api2.Team
All Implemented Interfaces:
com.danube.scrumworks.util.HasId, com.danube.scrumworks.util.HasName, java.io.Serializable

public final class Team
extends java.lang.Object
implements java.io.Serializable, com.danube.scrumworks.util.HasId, com.danube.scrumworks.util.HasName

Contains information about Teams for API users.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.danube.scrumworks.util.HasName
com.danube.scrumworks.util.HasName.CompareIgnoreCase
 
Field Summary
static com.google.common.base.Function<? super com.danube.scrumworks.team.TeamTO,? extends Team> FROM_TO
          Converts team transfer objects to web service objects.
 
Fields inherited from interface com.danube.scrumworks.util.HasName
COMPARATOR, NAME_MAPPING
 
Constructor Summary
Team()
          Constructs a new Team.
Team(java.lang.Long id, java.lang.String name, java.lang.String type)
          Constructs a new Team.
 
Method Summary
 java.lang.Long getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
 java.lang.String getType()
          Gets the teamType.
 void setId(java.lang.Long id)
          Sets the id.
 void setName(java.lang.String name)
          Sets the name.
 void setType(java.lang.String type)
          Sets the teamType.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FROM_TO

public static final com.google.common.base.Function<? super com.danube.scrumworks.team.TeamTO,? extends Team> FROM_TO
Converts team transfer objects to web service objects.

Constructor Detail

Team

public Team()
Constructs a new Team.


Team

public Team(java.lang.Long id,
            java.lang.String name,
            java.lang.String type)
Constructs a new Team.

Parameters:
id - the id
name - the name
type - the teamType
Method Detail

getId

public java.lang.Long getId()
Gets the id.

Specified by:
getId in interface com.danube.scrumworks.util.HasId
Returns:
the id

setId

public void setId(java.lang.Long id)
Sets the id.

Parameters:
id - the new id

getName

public java.lang.String getName()
Gets the name.

Specified by:
getName in interface com.danube.scrumworks.util.HasName
Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getType

public java.lang.String getType()
Gets the teamType.

Returns:
the type.

setType

public void setType(java.lang.String type)
Sets the teamType.

Parameters:
the - type.