org.itr_rescue.dataGuard.localFileSystem
Class JFMViewRepresentation

java.lang.Object
  extended by org.itr_rescue.dataGuard.localFileSystem.JFMViewRepresentation

public class JFMViewRepresentation
extends java.lang.Object

This class holds the user friendly and application friendly information about an view

Author:
sergiu

Constructor Summary
JFMViewRepresentation()
          Empty constructor
JFMViewRepresentation(java.lang.String name, java.lang.String className)
          Constructor that sets the name and the class name
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the passed object is equals with this one.
 java.lang.String getClassName()
           
 java.lang.String getName()
           
 void setClassName(java.lang.String className)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
          String representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JFMViewRepresentation

public JFMViewRepresentation()
Empty constructor


JFMViewRepresentation

public JFMViewRepresentation(java.lang.String name,
                             java.lang.String className)
Constructor that sets the name and the class name

Method Detail

getClassName

public java.lang.String getClassName()
Returns:
Returns the className.

setClassName

public void setClassName(java.lang.String className)
Parameters:
className - The className to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

toString

public java.lang.String toString()
String representation of the object.

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Returns true if the passed object is equals with this one. Two objects are considered to be equal If both the name and the class name's are not null and are equal.

Overrides:
equals in class java.lang.Object