属性名/类型 getter 方法 setter 方法 xcoordinate/Double public Double getXcoordinate() public void setXcoordinate(Double newValue) xCoordinate/Double public Double getxCoordinate() public void setxCoordinate(Double newValue) XCoordinate/Double public Double getXCoordinate() public void setXCoordinate(Double newValue) Xcoordinate/Double 不允许 不允许 student/Boolean public Boolean getStudent() public void setStudent(Boolean newValue) student/boolean public boolean getStudent() public boolean isStudent() public void setStudent(boolean newValue)