All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ef.cim.objectmodel.Phone Maven / Gradle / Ivy

There is a newer version: 1.21.5
Show newest version
package com.ef.cim.objectmodel;

import com.fasterxml.jackson.databind.JsonNode;

public class Phone {
    private String phone;
    private JsonNode additionalPhoneDetails;

    //Default Constructor
    public Phone() {
    }

    //Parameterized Constructor

    public Phone(String phone, JsonNode additionalPhoneDetails) {
        this.phone = phone;
        this.additionalPhoneDetails = additionalPhoneDetails;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public JsonNode getAdditionalPhoneDetails() {
        return additionalPhoneDetails;
    }

    public void setAdditionalPhoneDetails(JsonNode additionalPhoneDetails) {
        this.additionalPhoneDetails = additionalPhoneDetails;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "phone='" + phone + '\'' +
                ", type='" + additionalPhoneDetails + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy