Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / entities / Feature.java
k-morimoto on 17 Oct 2019 582 bytes private型に
package com.example.cosmosclient.entities;

public class Feature {
    private String name;
    private int code;
    private Location location = new Location();

    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }

    public void setCode(int code){
        this.code = code;
    }
    public int getCode(){
        return this.code;
    }

    public void setLocation(Location location){
        this.location = location;
    }
    public Location getLocation(){
        return this.location;
    }
}