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, AbstractAny, AbstractAttributable, AbstractGroupableRelatable, AbstractGroupableRelatable, DeletingLinkedAccount, JPAAnyObject, JPAGroup, JPALinkedAccount, JPAUser, Neo4jAnyObject, Neo4jGroup, Neo4jLinkedAccount, Neo4jUser

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

    Modifier and Type
    Method
    Description
    boolean
    add(P attr)
     
    Optional<? extends P>
    getPlainAttr(String plainSchema)
    Returns the plain attribute for this instance and the given schema name.s
    List<? extends P>
    Returns the plain attributes for this instance.
    boolean
    remove(P attr)
     

    Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Entity

    getKey
  • Method Details

    • 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
    • getPlainAttrs

      List<? extends P> getPlainAttrs()
      Returns the plain attributes for this instance.
      Returns:
      plain attribute for this instance