Class AnnotationTrait

    • Method Detail

      • toShapeId

        public final ShapeId toShapeId()
        Description copied from interface: Trait
        Gets the shape ID of the trait.
        Specified by:
        toShapeId in interface ToShapeId
        Specified by:
        toShapeId in interface Trait
        Returns:
        Returns the fully-qualified shape ID of the trait.
      • toNode

        public final Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Specified by:
        toNode in interface ToNode
        Returns:
        Returns the creates Node.
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object