Interface AttributeDescriptor<T>

    • Method Detail

      • getName

        java.lang.String getName()
        Retrieve name of the attribute.
        Returns:
        name of the attribute
      • isWildcard

        boolean isWildcard()
        Check if this is a wildcard attribute.
        Returns:
        true when this is wildcard attribute
      • getSchemeUri

        java.net.URI getSchemeUri()
        Retrieve URI of the scheme of this attribute.
        Returns:
        scheme URI of this attribute
      • getEntity

        java.lang.String getEntity()
        Retrieve name of the associated entity.
        Returns:
        name of the associated entity
      • toAttributePrefix

        default java.lang.String toAttributePrefix()
        Retrieve name of the attribute if not wildcard, otherwise retrieve the prefix without the last asterisk.
        Returns:
        attribute prefix of this attribute
      • toAttributePrefix

        java.lang.String toAttributePrefix​(boolean includeLastDot)
        Retrieve name of the attribute if not wildcard, otherwise retrieve the prefix without the last asterisk.
        Parameters:
        includeLastDot - true to include dot suffix of the prefix
        Returns:
        attribute prefix with or without dot
      • isPublic

        boolean isPublic()
        Marker if this is a public attribute.
        Returns:
        true it this is public attribute
      • toBuilder

        AttributeDescriptor.Builder toBuilder​(Repository repo)
        Convert this attribute back to builder.
        Parameters:
        repo - the repository
        Returns:
        builder representing this attribute
      • isProxy

        default boolean isProxy()
        Check if this is a proxy attribute.
        Returns:
        true is this is proxy false otherwise
      • getTransactionMode

        TransactionMode getTransactionMode()
        Retrieve type of transactional support of this attribute.
        Returns:
        TransactionMode of the attribute.
      • getTransactionalManagerFamilies

        default java.util.List<java.lang.String> getTransactionalManagerFamilies()
        Retrieve transactional manager families for this attribute.
      • valueOf

        default java.util.Optional<T> valueOf​(StreamElement el)