com.j_spaces.core.filters
Class GenericPrincipal.Attribute
java.lang.Object
com.j_spaces.core.filters.GenericPrincipal.Attribute
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- GenericPrincipal
public static class GenericPrincipal.Attribute
- extends Object
- implements Serializable
- See Also:
- Serialized Form
name
public String name
value
public Object value
GenericPrincipal.Attribute
public GenericPrincipal.Attribute()
GenericPrincipal.Attribute
public GenericPrincipal.Attribute(String name,
Object value)
equals
public boolean equals(Object o)
- Returns true if names of the attributes are the same.
- Overrides:
equals
in class Object
- Parameters:
o
- another Attribute
instance
- Returns:
- if the two Attribute instances are the same
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- Returns:
- the value hashCode
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- "Attribute{name=" + name + ", value=" + value + '}'