json.serialize.test.entity
Class Lancer

java.lang.Object
  extended by json.serialize.test.entity.Vehicle
      extended by json.serialize.test.entity.Car
          extended by json.serialize.test.entity.Lancer

public class Lancer
extends Car

A concrete car class representing Mitsubishi Lancer for demonstration.


Field Summary
private static java.util.Map mAttr
          Single Instance of Attribues
 
Constructor Summary
Lancer()
           
 
Method Summary
 java.util.Map getAttributes()
          Returns various attributes of Lancer
 java.lang.String getName()
          Returns Mitsubishi Lancer
 
Methods inherited from class json.serialize.test.entity.Car
getMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mAttr

private static java.util.Map mAttr
Single Instance of Attribues

Constructor Detail

Lancer

public Lancer()
Method Detail

getName

public java.lang.String getName()
Returns Mitsubishi Lancer

Overrides:
getName in class Car
Returns:
'Mitsubishi Lancer'

getAttributes

public java.util.Map getAttributes()
Returns various attributes of Lancer

Specified by:
getAttributes in class Vehicle
Returns:
various attributes of Lancer