org.onebusaway.transit_data.model
Class NameBean

java.lang.Object
  extended by org.onebusaway.transit_data.model.ApplicationBean
      extended by org.onebusaway.transit_data.model.NameBean
All Implemented Interfaces:
Serializable

public class NameBean
extends ApplicationBean

See Also:
Serialized Form

Constructor Summary
NameBean()
           
NameBean(String type, List<String> names)
           
NameBean(String type, String... names)
           
 
Method Summary
 boolean equals(Object obj)
          Object Interface
 String getName()
           
 String getName(int index)
           
 List<String> getNames()
           
 String getType()
           
 int hashCode()
           
 void setName(String name)
           
 void setNames(List<String> names)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameBean

public NameBean()

NameBean

public NameBean(String type,
                String... names)

NameBean

public NameBean(String type,
                List<String> names)
Method Detail

getType

public String getType()

setType

public void setType(String type)

getName

public String getName()

setName

public void setName(String name)

getName

public String getName(int index)

getNames

public List<String> getNames()

setNames

public void setNames(List<String> names)

equals

public boolean equals(Object obj)
Object Interface

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.