Class Password
- java.lang.Object
-
- dk.netarkivet.harvester.datamodel.Password
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
equals method overriding Object#equals.String
getComments()
Get the comment of this object.String
getName()
Get the name of this object.String
getPassword()
String
getPasswordDomain()
String
getRealm()
String
getUsername()
int
hashCode()
hashCode method overriding Object#hashCode.
-
-
-
Constructor Detail
-
Password
public Password(String name, String comments, String passwordDomain, String realm, String username, String password)
Create a new password object with the given information.- Parameters:
name
- The name of the Passwordcomments
- Any commentspasswordDomain
- the domain where this Password is usedrealm
- the realm of the Passwordusername
- the usernamepassword
- the password
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Named
Get the name of this object.
-
getComments
public String getComments()
Description copied from interface:Named
Get the comment of this object.- Specified by:
getComments
in interfaceNamed
- Returns:
- the comments for the Password
-
getPasswordDomain
public String getPasswordDomain()
- Returns:
- the domain for the Password
-
getRealm
public String getRealm()
- Returns:
- the Realm for the Password
-
getUsername
public String getUsername()
- Returns:
- the username.
-
getPassword
public String getPassword()
- Returns:
- the password.
-
equals
public boolean equals(Object o)
equals method overriding Object#equals. Autogenerated code.
-
-