Class ViasName


  • public class ViasName
    extends Object
    ViasName
    • Constructor Detail

      • ViasName

        public ViasName()
    • Method Detail

      • getFirstName

        public String getFirstName()
        The first name.
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(String firstName)
      • getGender

        public ViasName.GenderEnum getGender()
        The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`.
        Returns:
        gender
      • getInfix

        public String getInfix()
        The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed.
        Returns:
        infix
      • setInfix

        public void setInfix​(String infix)
      • getLastName

        public String getLastName()
        The last name.
        Returns:
        lastName
      • setLastName

        public void setLastName​(String lastName)
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static ViasName fromJson​(String jsonString)
                                 throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of ViasName given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ViasName
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to ViasName
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of ViasName to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException