|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) public @interface Subject
An annotation that defines an entity class.
An entity class is a resource with known properties.
The types attribute are the URIs of the entity types as defined by
<entity> a <type>
The namespace attribute specifies the default namespace for properties.
| Optional Element Summary | |
|---|---|
String |
namespace
The namespace for this subject. |
String[] |
types
The types that entities of this type must have to be valid. |
public abstract String[] types
public abstract String namespace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||