psman.data
Class Property

java.lang.Object
  |
  +--psman.data.Property

public final class Property
extends java.lang.Object

The property of pseudonyms.

Version:
$Id: Property.java,v 1.3 2003/11/04 12:09:21 tk4 Exp $
Author:
Martin Godisch

Constructor Summary
Property(int id, java.lang.String name)
          Constructor, only for existing properties.
Property(java.lang.String name)
          Constructor, only for new properties.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 boolean equals(psman.data.Property data)
           
 int getID()
          Return the database ID of this property.
 java.lang.String getName()
          Return the name of this property.
 int hashCode()
           
 void setID(int id)
          Set the database ID of this property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property

public Property(int id,
                java.lang.String name)
Constructor, only for existing properties.

Parameters:
id - the database ID of this property
name - the name of this property

Property

public Property(java.lang.String name)
Constructor, only for new properties.

Parameters:
name - the name of this property
Method Detail

getID

public int getID()
Return the database ID of this property.

Returns:
the database ID of this property

getName

public java.lang.String getName()
Return the name of this property.

Returns:
the name of this property

setID

public void setID(int id)
Set the database ID of this property.

Parameters:
id - the database ID of this property.

equals

public boolean equals(psman.data.Property data)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003 DRIM Team. All Rights Reserved.