Class CSLProperties

  • All Implemented Interfaces:
    JsonObject

    public class CSLProperties
    extends java.lang.Object
    implements JsonObject
    Citation cluster properties.
    Author:
    Michel Kraemer
    • Constructor Summary

      Constructors 
      Constructor Description
      CSLProperties()  
      CSLProperties​(java.lang.Integer noteIndex, java.lang.Boolean unsorted)  
    • Constructor Detail

      • CSLProperties

        public CSLProperties()
      • CSLProperties

        public CSLProperties​(java.lang.Integer noteIndex,
                             java.lang.Boolean unsorted)
    • Method Detail

      • getNoteIndex

        public java.lang.Integer getNoteIndex()
        Returns:
        the noteIndex
      • getUnsorted

        public java.lang.Boolean getUnsorted()
        Returns:
        the unsorted
      • toJson

        public java.lang.Object toJson​(JsonBuilder builder)
        Description copied from interface: JsonObject
        Converts this object to a JSON object
        Specified by:
        toJson in interface JsonObject
        Parameters:
        builder - a builder that can be used to perform the conversion
        Returns:
        the JSON object
      • fromJson

        public static CSLProperties fromJson​(java.util.Map<java.lang.String,​java.lang.Object> obj)
        Converts a JSON object to a CSLProperties object.
        Parameters:
        obj - the JSON object to convert
        Returns:
        the converted CSLProperties object
      • hashCode

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

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