Interface GroupableRelatable<L extends Any<P>,​M extends Membership<L>,​P extends GroupablePlainAttr<L,​M>,​R extends Any<?>,​REL extends Relationship<L,​R>>

    • Method Detail

      • getPlainAttr

        Optional<? extends P> getPlainAttr​(String plainSchema,
                                           Membership<?> membership)
        Returns the plain attribute for this instance, the given schema name and the given membership - if found, NULL otherwise.
        Parameters:
        plainSchema - plain schema name
        membership - membership
        Returns:
        plain attribute for this instance, the given schema name and the given membership
      • getPlainAttrs

        Collection<? extends P> getPlainAttrs​(String plainSchema)
        Returns the list of plain attributes for this instance and the given schema name (including membeship attributes, as opposite to Attributable.getPlainAttr(java.lang.String)).
        Parameters:
        plainSchema - plain schema name
        Returns:
        list of plain attributes for this instance and the given schema name (including membeship attributes)
      • getPlainAttrs

        Collection<? extends P> getPlainAttrs​(Membership<?> membership)
        Returns the list of plain attributes for this instance and the given membership.
        Parameters:
        membership - membership
        Returns:
        list of plain attributes for this instance and the given membership
      • add

        boolean add​(M membership)
      • remove

        boolean remove​(M membership)
      • getMemberships

        List<? extends M> getMemberships()
      • add

        boolean add​(REL relationship)
      • getRelationships

        List<? extends REL> getRelationships()