~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/libs/jgdi/cullconv/src/com/sun/grid/cull/CullEnum.java

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*___INFO__MARK_BEGIN__*//*************************************************************************
 
2
 *
 
3
 *  The Contents of this file are made available subject to the terms of
 
4
 *  the Sun Industry Standards Source License Version 1.2
 
5
 *
 
6
 *  Sun Microsystems Inc., March, 2001
 
7
 *
 
8
 *
 
9
 *  Sun Industry Standards Source License Version 1.2
 
10
 *  =================================================
 
11
 *  The contents of this file are subject to the Sun Industry Standards
 
12
 *  Source License Version 1.2 (the "License"); You may not use this file
 
13
 *  except in compliance with the License. You may obtain a copy of the
 
14
 *  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
15
 *
 
16
 *  Software provided under this License is provided on an "AS IS" basis,
 
17
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 
18
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 
19
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 
20
 *  See the License for the specific provisions governing your rights and
 
21
 *  obligations concerning the Software.
 
22
 *
 
23
 *   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
24
 *
 
25
 *   Copyright: 2001 by Sun Microsystems, Inc.
 
26
 *
 
27
 *   All Rights Reserved.
 
28
 *
 
29
 ************************************************************************/
 
30
/*___INFO__MARK_END__*/
 
31
package com.sun.grid.cull;
 
32
 
 
33
import java.util.LinkedList;
 
34
import java.util.Collections;
 
35
import java.util.List;
 
36
 
 
37
/**
 
38
 *
 
39
 */
 
40
public class CullEnum {
 
41
 
 
42
    private String name;
 
43
    private List<String> elems = new LinkedList<String>();
 
44
 
 
45
    /** Creates a new instance of CullEnum */
 
46
    public CullEnum() {
 
47
    }
 
48
 
 
49
    public String getName() {
 
50
        return name;
 
51
    }
 
52
 
 
53
    public void setName(String name) {
 
54
        this.name = name;
 
55
    }
 
56
 
 
57
    public void addElem(String elem) {
 
58
        elems.add(elem);
 
59
    }
 
60
 
 
61
    public List<String> getElems() {
 
62
        return Collections.unmodifiableList(elems);
 
63
    }
 
64
}