Class TupleKey


  • public class TupleKey
    extends java.lang.Object
    TupleKey
    • Field Detail

      • JSON_PROPERTY_USER

        public static final java.lang.String JSON_PROPERTY_USER
        See Also:
        Constant Field Values
      • JSON_PROPERTY_RELATION

        public static final java.lang.String JSON_PROPERTY_RELATION
        See Also:
        Constant Field Values
      • JSON_PROPERTY_OBJECT

        public static final java.lang.String JSON_PROPERTY_OBJECT
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONDITION

        public static final java.lang.String JSON_PROPERTY_CONDITION
        See Also:
        Constant Field Values
    • Constructor Detail

      • TupleKey

        public TupleKey()
    • Method Detail

      • user

        public TupleKey user​(java.lang.String user)
      • getUser

        @Nonnull
        public java.lang.String getUser()
        Get user
        Returns:
        user
      • setUser

        public void setUser​(java.lang.String user)
      • relation

        public TupleKey relation​(java.lang.String relation)
      • getRelation

        @Nonnull
        public java.lang.String getRelation()
        Get relation
        Returns:
        relation
      • setRelation

        public void setRelation​(java.lang.String relation)
      • _object

        public TupleKey _object​(java.lang.String _object)
      • getObject

        @Nonnull
        public java.lang.String getObject()
        Get _object
        Returns:
        _object
      • setObject

        public void setObject​(java.lang.String _object)
      • equals

        public boolean equals​(java.lang.Object o)
        Return true if this TupleKey object is equal to o.
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toUrlQueryString

        public java.lang.String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public java.lang.String toUrlQueryString​(java.lang.String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string