PageRenderTime 13ms CodeModel.GetById 1ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/v3.2/nimbits-model/src/com/nimbits/client/model/category/Category.java

http://nimbits-server.googlecode.com/
Java | 62 lines | 21 code | 21 blank | 20 comment | 0 complexity | 6864ad975bd0ba731d3a5908c0c90185 MD5 | raw file
 1/*
 2 * Copyright (c) 2010 Tonic Solutions LLC.
 3 *
 4 * http://www.nimbits.com
 5 *
 6 *
 7 * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
 8 *
 9 * http://www.gnu.org/licenses/gpl.html
10 *
11 * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
12 */
13
14package com.nimbits.client.model.category;
15
16import com.nimbits.client.model.diagram.Diagram;
17import com.nimbits.client.model.point.Point;
18
19import java.io.Serializable;
20import java.util.List;
21
22/**
23 * Created by bsautner
24 * User: benjamin
25 * Date: 4/15/11
26 * Time: 4:02 PM
27 */
28public interface Category extends Serializable {
29    // boolean isSystem();
30
31    //void setSystem(boolean isSystem);
32
33    List<Point> getPoints();
34
35    void setDiagrams(final List<Diagram> diagrams);
36
37    void setPoints(final List<Point> p);
38
39    void addPoint(final Point p);
40
41    long getId();
42
43    String getJsonPointCollection();
44
45    String getJsonDiagramCollection();
46
47    void setJsonPointCollection(final String json);
48
49    void setJsonDiagramCollection(final String json);
50
51    long getUserFK();
52
53    void setUserFK(final long userFK);
54
55    CategoryName getName();
56
57    void setName(final CategoryName name);
58
59    List<Diagram> getDiagrams();
60
61
62}