net.sourceforge.floggy.persistence.migration
Class FieldPersistableInfo

java.lang.Object
  extended by net.sourceforge.floggy.persistence.migration.FieldPersistableInfo

public class FieldPersistableInfo
extends Object

Represents a Persistable information in the update process.

Since:
1.3.0
Author:
Thiago Moreira

Field Summary
protected  String className
          The Persistable's class name
protected  int id
          The Persistable's id
 
Constructor Summary
FieldPersistableInfo(int id, String className)
          Creates a new FieldPersistableInfo object.
 
Method Summary
 boolean equals(Object obj)
           
 String getClassName()
          Gets the class name
 int getId()
          Gets the id
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

className

protected String className
The Persistable's class name


id

protected int id
The Persistable's id

Constructor Detail

FieldPersistableInfo

public FieldPersistableInfo(int id,
                            String className)
Creates a new FieldPersistableInfo object.

Parameters:
id - The Persistable's id
className - The Persistable's class name
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

getClassName

public String getClassName()
Gets the class name

Returns:
the class name

getId

public int getId()
Gets the id

Returns:
the id

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2006-2011 Floggy Open Source Group. All Rights Reserved.