public class Subject extends Object
Attribute
s 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
Attribute s 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()
Attribute
s associated with this subject.Set
of Attribute
spublic List getAttributesAsList()
Attribute
s associated with this subject.Set
of Attribute
sCopyright © 2023 JBoss by Red Hat. All rights reserved.