@Target(value=TYPE) @Documented @Retention(value=RUNTIME) @Inherited public @interface RelationshipStereotype
In many security systems, use of architectural patterns produces a set of recurring concepts. A stereotype represents those concepts, helping developers to declare some metadata for their own types in order to get them properly recognized, managed and associated with those common concepts.
This annotation provides all stereotypes that can be defined by Relationship
types, such as
grant and group memberships. Each stereotype has some common properties that should be defined using the
StereotypeProperty
annotation.
A Relationship
must declare only a single stereotype.
StereotypeProperty
Modifier and Type | Required Element and Description |
---|---|
RelationshipStereotype.Stereotype |
value |
public abstract RelationshipStereotype.Stereotype value
Copyright © 2018 JBoss by Red Hat. All rights reserved.