package cn.edu.bjut.chapter4; public class Cpc extends Classification { private char position; private char value; public Cpc(char section, int mainClass, char subclass, int mainGroup, int subgroup, char position, char value) { super(section, mainClass, subclass, mainGroup, subgroup); this.position = position; this.value = value; } public Cpc(String symbol, char position, char value) { super(symbol); this.position = position; this.value = value; } public char getPosition() { return position; } public void setPosition(char position) { this.position = position; } public char getValue() { return value; } public void setValue(char value) { this.value = value; } }