Class CommonField


  • public class CommonField
    extends Object
    CommonField
    • Constructor Detail

      • CommonField

        public CommonField()
    • Method Detail

      • getName

        public String getName()
        Name of the field. For example, Name of External Platform.
        Returns:
        name
      • setName

        public void setName​(String name)
        Name of the field. For example, Name of External Platform.
        Parameters:
        name -
      • getVersion

        public String getVersion()
        Version of the field. For example, Version of External Platform.
        Returns:
        version
      • setVersion

        public void setVersion​(String version)
        Version of the field. For example, Version of External Platform.
        Parameters:
        version -
      • equals

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

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

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

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