public class Admin extends java.lang.Object implements java.lang.Comparable<Admin>
Constructor and Description |
---|
Admin(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attributes)
Construct a Container object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Admin other) |
boolean |
equals(java.lang.Object o) |
AdminAttributes |
getAttributes()
Return the
AdminAttributes . |
java.lang.String |
getName()
Return the admin name.
|
int |
hashCode() |
java.lang.String |
toString() |
public Admin(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attributes)
name
- admin nameattributes
- admin attributespublic java.lang.String getName()
public AdminAttributes getAttributes()
AdminAttributes
.public int compareTo(Admin other)
compareTo
in interface java.lang.Comparable<Admin>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object