Class CSLName

  • All Implemented Interfaces:
    JsonObject

    public class CSLName
    extends Object
    implements JsonObject
    A human being's name
    Author:
    Michel Kraemer
    • Method Detail

      • getFamily

        public String getFamily()
        Returns:
        the family
      • getGiven

        public String getGiven()
        Returns:
        the given
      • getDroppingParticle

        public String getDroppingParticle()
        Returns:
        the dropping-particle
      • getNonDroppingParticle

        public String getNonDroppingParticle()
        Returns:
        the non-dropping-particle
      • getSuffix

        public String getSuffix()
        Returns:
        the suffix
      • getCommaPrefix

        public Boolean getCommaPrefix()
        Returns:
        the comma-prefix
      • getCommaSuffix

        public Boolean getCommaSuffix()
        Returns:
        the comma-suffix
      • getStaticOrdering

        public Boolean getStaticOrdering()
        Returns:
        the static-ordering
      • getStaticParticles

        public Boolean getStaticParticles()
        Returns:
        the static-particles
      • getLiteral

        public String getLiteral()
        Returns:
        the literal
      • getParseNames

        public Boolean getParseNames()
        Returns:
        the parse-names
      • getIsInstitution

        public Boolean getIsInstitution()
        Returns:
        the isInstitution
      • toJson

        public 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 CSLName fromJson​(Map<String,​Object> obj)
        Converts a JSON object to a CSLName object.
        Parameters:
        obj - the JSON object to convert
        Returns:
        the converted CSLName object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object