de.smartics.properties.tutorial.property.custom
Class CredentialsProperty

Package class diagram package CredentialsProperty
java.lang.Object
  extended by de.smartics.properties.tutorial.property.custom.CredentialsProperty
All Implemented Interfaces:
Serializable

public final class CredentialsProperty
     
     
extends Object
implements Serializable

Sample to show how to construct instances of custom types.

See Also:
Serialized Form

Method Summary
 boolean equals(Object object)
          Returns true if the given object is semantically equal to the given object, false otherwise.
static CredentialsProperty fromString(String string)
           
 String getPassword()
           
 String getUserId()
           
 int hashCode()
          Returns the hash code of the object.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

fromString

public static CredentialsProperty fromString(String string)
                                      throws IllegalArgumentException
Throws:
IllegalArgumentException

getUserId

public String getUserId()

getPassword

public String getPassword()

hashCode

public int hashCode()
Returns the hash code of the object.

Overrides:
hashCode in class Object
Returns:
the hash code.

equals

public boolean equals(Object object)
Returns true if the given object is semantically equal to the given object, false otherwise.

Overrides:
equals in class Object
Parameters:
object - the instance to compare to.
Returns:
true if the given object is semantically equal to the given object, false otherwise.

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class Object
Returns:
the string representation of the object.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.