public class Subject extends Object
Attributes associated
with a particular subject.| Modifier and Type | Field and Description |
|---|---|
static URI |
DEFAULT_CATEGORY
URI form of the default subject category |
| Constructor and Description |
|---|
Subject(List attributes)
Creates a new collection of subject attributes using the default
subject cateorgy.
|
Subject(Set attributes)
Deprecated.
|
Subject(URI category,
List attributes)
Creates a new collection of subject attributes using the given
subject category.
|
Subject(URI category,
Set attributes)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set |
getAttributes()
Deprecated.
|
List |
getAttributesAsList()
Returns the
Attributes associated with this subject. |
URI |
getCategory()
Returns the category of this subject's attributes.
|
int |
hashCode() |
public static final URI DEFAULT_CATEGORY
URI form of the default subject categorypublic Subject(Set attributes)
attributes - a non-null Set of Attribute
objectspublic Subject(List attributes)
attributes - a non-null Set of Attribute
objectspublic Subject(URI category, Set attributes)
category - the subject category or null for the default categoryattributes - a non-null Set of Attribute
objectspublic URI getCategory()
public Set getAttributes()
Attributes associated with this subject.Set of Attributespublic List getAttributesAsList()
Attributes associated with this subject.Set of AttributesCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.