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(Set attributes)
Creates a new collection of subject attributes using the default subject cateorgy.
|
Subject(URI category,
Set attributes)
Creates a new collection of subject attributes using the given subject category.
|
| Modifier and Type | Method and Description |
|---|---|
Set |
getAttributes()
Returns the
Attributes associated with this subject. |
URI |
getCategory()
Returns the category of this subject's attributes.
|
public static final URI DEFAULT_CATEGORY
URI form of the default subject categorypublic Subject(Set attributes)
attributes - a non-null Set of Attribute objectsCopyright © 2021 WSO2. All rights reserved.