Interface Attributable<P extends PlainAttr<?>>
-
- All Superinterfaces:
Entity,Serializable
- All Known Subinterfaces:
Any<P>,AnyObject,Group,GroupableRelatable<L,M,P,R,REL>,LinkedAccount,User
- All Known Implementing Classes:
AbstractAny,AbstractGroupableRelatable,DeletingLinkedAccount,JPAAnyObject,JPAGroup,JPAJSONAnyObject,JPAJSONGroup,JPAJSONLinkedAccount,JPAJSONUser,JPALinkedAccount,JPAUser
public interface Attributable<P extends PlainAttr<?>> extends Entity
-
-
Field Summary
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanadd(P attr)Optional<? extends P>getPlainAttr(String plainSchema)Returns the plain attribute for this instance and the given schema name.sList<? extends P>getPlainAttrs()Returns the plain attributes for this instance.booleanremove(P attr)
-
-
-
Method Detail
-
add
boolean add(P attr)
-
remove
boolean remove(P attr)
-
getPlainAttr
Optional<? extends P> getPlainAttr(String plainSchema)
Returns the plain attribute for this instance and the given schema name.s- Parameters:
plainSchema- plain schema name- Returns:
- plain attribute for this instance and the given schema name
-
-