Class FieldType


  • public class FieldType
    extends Object
    FieldType
    • Constructor Detail

      • FieldType

        public FieldType()
    • Method Detail

      • getField

        public String getField()
        The full name of the property.
        Returns:
        field
      • setField

        public void setField​(String field)
      • shareholderCode

        public FieldType shareholderCode​(String shareholderCode)
      • getShareholderCode

        public String getShareholderCode()
        The code of the shareholder that the field belongs to. If empty, the field belongs to an account holder.
        Returns:
        shareholderCode
      • setShareholderCode

        public void setShareholderCode​(String shareholderCode)
      • equals

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

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

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

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