123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- package classes;
- import java.util.ArrayList;
- public class Category{
-
- private int ID;
- private ArrayList<CpsObject> objects;
- private String name;
-
- public Category(String name){
- setObjects(new ArrayList<CpsObject>());
- setName(name);
- setID(-1);
-
- }
- /**
- * @return the id
- */
- public int getID() {
- return ID;
- }
- /**
- * @param id the id to set
- */
- public void setID(int id) {
- this.ID = id;
- }
- /**
- * @return the objects
- */
- public ArrayList<CpsObject> getObjects() {
- return objects;
- }
- /**
- * @param objects the objects to set
- */
- public void setObjects(ArrayList<CpsObject> objects) {
- this.objects = objects;
- }
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
- /**
- * @param name the name to set
- */
- public void setName(String name) {
- this.name = name;
- }
-
- }
|