Package com.sun.ts.lib.deliverable.cts.resource

# Class Dog

java.lang.Object
com.sun.ts.lib.deliverable.cts.resource.Dog

All Implemented Interfaces:
  `Serializable`

public class Dog extends Object implements Serializable
A simple JavaBean class to be used as a custom resource type.

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `DOG_AGE`
  `static final String`
  `DOG_NAME`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Dog()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object anObject)`
  `int`
  `getAge()`
  `static Dog`
  `getInstance()`
  `String`
  `getName()`
  `int`
  `hashCode()`
  `void`
  `setAge(int age)`
  `void`
  `setName(String name)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### DOG_NAME

    public static final String DOG_NAME
    See Also:
      - Constant Field Values

  - ### DOG_AGE

    public static final int DOG_AGE
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Dog

    public Dog()

- ## Method Details

  - ### getInstance

    public static Dog getInstance()

  - ### getAge

    public int getAge()

  - ### setAge

    public void setAge(int age)

  - ### getName

    public String getName()

  - ### setName

    public void setName(String name)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object anObject)
    Overrides:
      `equals` in class `Object`