|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.security.xacml.util.AttributeBean
public class AttributeBean
This utility class provides a container for the basic information of an Attribute.
| Constructor Summary | |
|---|---|
AttributeBean()
Default constructor. |
|
AttributeBean(String id,
String type,
Set<String> values)
The parameterised constructor that creates a n object with values initialised. |
|
| Method Summary | |
|---|---|
void |
addValue(String value)
Adds a value for this attribute. |
boolean |
equals(Object obj)
|
String |
getId()
|
String |
getType()
|
Set<String> |
getValues()
|
int |
hashCode()
|
void |
setId(String id)
|
void |
setType(String type)
|
void |
setValues(Set<String> values)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeBean()
public AttributeBean(String id,
String type,
Set<String> values)
id - the XACML id of the Attributetype - the XML schema type of the Attributevalues - the values of the Attribute| Method Detail |
|---|
public String getId()
public void setId(String id)
id - the id to setpublic String getType()
public void setType(String type)
type - the type to setpublic Set<String> getValues()
public void setValues(Set<String> values)
values - the value to setpublic void addValue(String value)
value - public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||