KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > mdr > util > MOFConstants


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 package org.netbeans.mdr.util;
20
21 /**
22  * Constants from the MOF model.
23  *
24  * @author Petr Hrebejk, Martin Matula
25  * @version
26  */

27 public interface MOFConstants {
28     public static final String JavaDoc MODEL = "Model";
29     public static final String JavaDoc MODEL_ASSOCIATION_END = "Model.AssociationEnd";
30     public static final String JavaDoc MODEL_ATTRIBUTE = "Model.Attribute";
31     public static final String JavaDoc MODEL_REFERENCE = "Model.Reference";
32     public static final String JavaDoc MODEL_OPERATION = "Model.Operation";
33
34     public static final String JavaDoc SH_MODEL_NAMESPACE_CONTENTS = "contents";
35     public static final String JavaDoc SH_MODEL_GENERALIZABLE_ELEMENT_SUPERTYPES = "supertypes";
36     public static final String JavaDoc SH_MODEL_GENERALIZABLE_ELEMENT_VISIBILITY = "visibility";
37     public static final String JavaDoc SH_MODEL_GENERALIZABLE_ELEMENT_IS_ABSTRACT = "isAbstract";
38     public static final String JavaDoc SH_MODEL_GENERALIZES_SUPERTYPE = "supertype";
39     public static final String JavaDoc SH_MODEL_REFERS_TO_REFERENCED_END = "referencedEnd";
40     public static final String JavaDoc SH_MODEL_CONTAINS_CONTAINER = "container";
41     public static final String JavaDoc SH_MODEL_IS_OF_TYPE_TYPE = "type";
42     public static final String JavaDoc SH_MODEL_MODEL_ELEMENT_NAME = "name";
43     public static final String JavaDoc SH_MODEL_MODEL_ELEMENT_CONTAINER = "container";
44     public static final String JavaDoc SH_MODEL_TYPED_ELEMENT_TYPE = "type";
45     public static final String JavaDoc SH_MODEL_ATTRIBUTE_IS_DERIVED = "isDerived";
46     public static final String JavaDoc SH_MODEL_IMPORT_IS_CLUSTERED = "isClustered";
47     public static final String JavaDoc SH_MODEL_IMPORT_IMPORTED_NAMESPACE = "importedNamespace";
48     public static final String JavaDoc SH_MODEL_STRUCTURAL_FEATURE_MULTIPLICITY = "multiplicity";
49
50     public static final String JavaDoc SH_MODEL_ATTRIBUTE = "Attribute";
51     public static final String JavaDoc SH_MODEL_REFERENCE = "Reference";
52     public static final String JavaDoc SH_MODEL_OPERATION = "Operation";
53     public static final String JavaDoc SH_MODEL_PARAMETER = "Parameter";
54     public static final String JavaDoc SH_MODEL_PARAMETER_DIRECTION_KIND = "direction";
55     public static final String JavaDoc SH_MODEL_MULTIPLICITY_TYPE_UPPER = "upper";
56     public static final String JavaDoc SH_MODEL_MULTIPLICITY_TYPE_IS_ORDERED = "isOrdered";
57     public static final String JavaDoc SH_MODEL_MULTIPLICITY_TYPE_IS_UNIQUE = "isUnique";
58     public static final String JavaDoc SH_MODEL_MULTIPLICITY_TYPE_LOWER = "lower";
59     public static final String JavaDoc SH_MODEL_STRUCTURAL_FEATURE_IS_CHANGEABLE = "isChangeable";
60     public static final String JavaDoc SH_MODEL_FEATURE_SCOPE = "scope";
61     public static final String JavaDoc SH_MODEL_CLASS = "Class";
62     public static final String JavaDoc SH_MODEL_ASSOCIATION = "Association";
63     public static final String JavaDoc SH_MODEL_CONSTANT = "Constant";
64     public static final String JavaDoc SH_MODEL_EXCEPTION = "Exception";
65     public static final String JavaDoc SH_MODEL_ASSOCIATION_IS_DERIVED = "isDerived";
66     public static final String JavaDoc SH_MODEL_PACKAGE = "Package";
67     public static final String JavaDoc SH_MODEL_ENUMERATION_TYPE = "EnumerationType";
68     public static final String JavaDoc SH_MODEL_STRUCTURE_TYPE = "StructureType";
69     public static final String JavaDoc SH_MODEL_STRUCTURE_FIELD = "StructureField";
70     public static final String JavaDoc SH_MODEL_COLLECTION_TYPE = "CollectionType";
71     public static final String JavaDoc SH_MODEL_ALIAS_TYPE = "AliasType";
72     public static final String JavaDoc SH_MODEL_PRIMITIVE_TYPE = "PrimitiveType";
73     public static final String JavaDoc SH_MODEL_ASSOCIATION_END = "AssociationEnd";
74     public static final String JavaDoc SH_MODEL_ASSOCIATION_END_IS_NAVIGABLE = "isNavigable";
75     public static final String JavaDoc SH_MODEL_ASSOCIATION_END_IS_CHANGEABLE = "isChangeable";
76     public static final String JavaDoc SH_MODEL_ASSOCIATION_END_MULTIPLICITY = "multiplicity";
77     public static final String JavaDoc SH_MODEL_OPERATION_EXCEPTIONS = "exceptions";
78     public static final String JavaDoc SH_MODEL_IMPORT = "Import";
79     public static final String JavaDoc SH_MODEL_ATTACHES_TO = "AttachesTo";
80 // public static final String SH_MODEL_ATTACHES_TO_TAG = "tag";
81
public static final String JavaDoc SH_MODEL_ATTACHES_TO_MODEL_ELEMENT = "modelElement";
82     public static final String JavaDoc SH_MODEL_TAG_TAG_ID = "tagId";
83     public static final String JavaDoc SH_MODEL_TAG_VALUES = "values";
84
85     public static final String JavaDoc MODEL_FEATURE_SCOPE = "Model.Feature.scope";
86     public static final String JavaDoc MODEL_CONTAINS = "Model.Contains";
87     public static final String JavaDoc MODEL_MODEL_ELEMENT_NAME = "Model.ModelElement.name";
88     public static final String JavaDoc MODEL_ATTRIBUTE_IS_DERIVED = "Model.Attribute.isDerived";
89     public static final String JavaDoc MODEL_ASSOCIATION_END_MULTIPLICITY = "Model.AssociationEnd.multiplicity";
90     public static final String JavaDoc MODEL_STRUCTURAL_FEATURE_MULTIPLICITY = "Model.StructuralFeature.multiplicity";
91     public static final String JavaDoc MODEL_MULTIPLICITY_TYPE_UPPER = "Model.MultiplicityType.upper";
92     public static final String JavaDoc MODEL_MULTIPLICITY_TYPE_IS_ORDERED = "Model.MultiplicityType.isOrdered";
93     public static final String JavaDoc MODEL_MULTIPLICITY_TYPE_IS_UNIQUE = "Model.MultiplicityType.isUnique";
94     public static final String JavaDoc MODEL_MULTIPLICITY_TYPE_LOWER = "Model.MultiplicityType.lower";
95     public static final String JavaDoc MODEL_GENERALIZABLE_ELEMENT_IS_ABSTRACT = "Model.GeneralizableElement.isAbstract";
96     public static final String JavaDoc MODEL_CLASS_IS_SINGLETON = "Model.Class.isSingleton";
97     public static final String JavaDoc MODEL_GENERALIZABLE_ELEMENT_SUPERTYPES = "Model.GeneralizableElement.supertypes";
98     public static final String JavaDoc MODEL_CLASS = "Model.Class";
99     public static final String JavaDoc MODEL_ASSOCIATION = "Model.Association";
100     public static final String JavaDoc MODEL_NAMESPACE_CONTENTS = "Model.Namespace.contents";
101     public static final String JavaDoc MODEL_ASSOCIATION_END_AGGREGATION = "Model.AssociationEnd.aggregation";
102     public static final String JavaDoc MODEL_MULTIPLICITY_TYPE = "Model.MultiplicityType";
103     public static final String JavaDoc MODEL_PACKAGE = "Model.Package";
104     public static final String JavaDoc MODEL_TYPED_ELEMENT_TYPE = "Model.TypedElement.type";
105     public static final String JavaDoc MODEL_REFERENCE_REFERENCED_END = "Model.Reference.referencedEnd";
106     public static final String JavaDoc MODEL_ALIAS_TYPE = "Model.AliasType";
107     public static final String JavaDoc MODEL_ENUMERATION_TYPE = "Model.EnumerationType";
108     public static final String JavaDoc MODEL_STRUCTURE_TYPE = "Model.StructureType";
109     public static final String JavaDoc MODEL_STRUCTURE_FIELD = "Model.StructureField";
110     public static final String JavaDoc MODEL_PRIMITIVE_TYPE = "Model.PrimitiveType";
111     public static final String JavaDoc MODEL_COLLECTION_TYPE = "Model.CollectionType";
112     public static final String JavaDoc DATATYPES = "PrimitiveTypes";
113     public static final String JavaDoc DATATYPES_BOOLEAN = "PrimitiveTypes.Boolean";
114     public static final String JavaDoc DATATYPES_BYTE = "PrimitiveTypes.Byte";
115     public static final String JavaDoc DATATYPES_CHARACTER = "PrimitiveTypes.Character";
116     public static final String JavaDoc DATATYPES_DOUBLE = "PrimitiveTypes.Double";
117     public static final String JavaDoc DATATYPES_FLOAT = "PrimitiveTypes.Float";
118     public static final String JavaDoc DATATYPES_INTEGER = "PrimitiveTypes.Integer";
119     public static final String JavaDoc DATATYPES_LONG = "PrimitiveTypes.Long";
120     public static final String JavaDoc DATATYPES_OBJECT = "PrimitiveTypes.Object";
121     public static final String JavaDoc DATATYPES_SHORT = "PrimitiveTypes.Short";
122     public static final String JavaDoc DATATYPES_STRING = "PrimitiveTypes.String";
123     
124     public static final String JavaDoc SCOPE_CLASSIFIER = "classifier_level";
125     public static final String JavaDoc SCOPE_INSTANCE = "instance_level";
126 }
127
128
Popular Tags