Class AttributeDescriptorBase<T>

    • Field Detail

      • entity

        protected final java.lang.String entity
      • name

        protected final java.lang.String name
      • schemeUri

        protected final java.net.URI schemeUri
      • proxy

        protected final boolean proxy
      • wildcard

        protected final boolean wildcard
      • replica

        protected final boolean replica
    • Constructor Detail

      • AttributeDescriptorBase

        public AttributeDescriptorBase​(java.lang.String name,
                                       java.lang.String entity,
                                       java.net.URI schemeUri,
                                       @Nullable
                                       ValueSerializer<T> valueSerializer,
                                       boolean replica,
                                       TransactionMode transactionMode)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toAttributePrefix

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

        public boolean isPublic()
        Description copied from interface: AttributeDescriptor
        Marker if this is a public attribute.
        Specified by:
        isPublic in interface AttributeDescriptor<T>
        Returns:
        true it this is public attribute