Source Code Cross Referenced for LocationSchedulePG.java in  » Science » Cougaar12_4 » org » cougaar » planning » ldm » asset » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.planning.ldm.asset 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * <copyright>
003:         *  
004:         *  Copyright 1997-2004 BBNT Solutions, LLC
005:         *  under sponsorship of the Defense Advanced Research Projects
006:         *  Agency (DARPA).
007:         * 
008:         *  You can redistribute this software and/or modify it under the
009:         *  terms of the Cougaar Open Source License as published on the
010:         *  Cougaar Open Source Website (www.cougaar.org).
011:         * 
012:         *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
013:         *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
014:         *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
015:         *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
016:         *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
017:         *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
018:         *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
019:         *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
020:         *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
021:         *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
022:         *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
023:         *  
024:         * </copyright>
025:         */
026:
027:        /* @generated Thu Sep 27 15:20:42 EDT 2007 from /u01/builds/cougaar/B12_4/B12_4/070927151721/src/planning/src/org/cougaar/planning/ldm/asset/properties.def - DO NOT HAND EDIT */
028:        /** Primary client interface for LocationSchedulePG.
029:         *  @see NewLocationSchedulePG
030:         *  @see LocationSchedulePGImpl
031:         **/package org.cougaar.planning.ldm.asset;
032:
033:        import org.cougaar.planning.ldm.measure.*;
034:        import org.cougaar.planning.ldm.asset.*;
035:        import org.cougaar.planning.ldm.plan.*;
036:        import java.util.*;
037:
038:        public interface LocationSchedulePG extends PropertyGroup, LocalPG {
039:            /** A schedule of LocationScheduleElement elements.  The semantics of location and overlapping time ranges is not defined. Consumers of the schedule should probably synchronize on the schedule object in order to prevent comodification exceptions. **/
040:            Schedule getSchedule();
041:
042:            // introspection and construction
043:            /** the method of factoryClass that creates this type **/
044:            String factoryMethod = "newLocationSchedulePG";
045:            /** the (mutable) class type returned by factoryMethod **/
046:            String mutableClass = "org.cougaar.planning.ldm.asset.NewLocationSchedulePG";
047:            /** the factory class **/
048:            Class factoryClass = org.cougaar.planning.ldm.asset.PropertyGroupFactory.class;
049:            /** the (immutable) class type returned by domain factory **/
050:            Class primaryClass = org.cougaar.planning.ldm.asset.LocationSchedulePG.class;
051:            String assetSetter = "setLocationSchedulePG";
052:            String assetGetter = "getLocationSchedulePG";
053:            /** The Null instance for indicating that the PG definitely has no value **/
054:            LocationSchedulePG nullPG = new Null_LocationSchedulePG();
055:
056:            /** Null_PG implementation for LocationSchedulePG **/
057:            final class Null_LocationSchedulePG implements  LocationSchedulePG,
058:                    Null_PG {
059:                public Schedule getSchedule() {
060:                    throw new UndefinedValueException();
061:                }
062:
063:                public boolean equals(Object object) {
064:                    throw new UndefinedValueException();
065:                }
066:
067:                public Object clone() throws CloneNotSupportedException {
068:                    throw new CloneNotSupportedException();
069:                }
070:
071:                public NewPropertyGroup unlock(Object key) {
072:                    return null;
073:                }
074:
075:                public PropertyGroup lock(Object key) {
076:                    return null;
077:                }
078:
079:                public PropertyGroup lock() {
080:                    return null;
081:                }
082:
083:                public PropertyGroup copy() {
084:                    return null;
085:                }
086:
087:                public Class getPrimaryClass() {
088:                    return primaryClass;
089:                }
090:
091:                public String getAssetGetMethod() {
092:                    return assetGetter;
093:                }
094:
095:                public String getAssetSetMethod() {
096:                    return assetSetter;
097:                }
098:
099:                public Class getIntrospectionClass() {
100:                    return LocationSchedulePGImpl.class;
101:                }
102:
103:                public boolean hasDataQuality() {
104:                    return false;
105:                }
106:            }
107:
108:            /** Future PG implementation for LocationSchedulePG **/
109:            final class Future implements  LocationSchedulePG, Future_PG {
110:                public Schedule getSchedule() {
111:                    waitForFinalize();
112:                    return _real.getSchedule();
113:                }
114:
115:                public boolean equals(Object object) {
116:                    waitForFinalize();
117:                    return _real.equals(object);
118:                }
119:
120:                public Object clone() throws CloneNotSupportedException {
121:                    throw new CloneNotSupportedException();
122:                }
123:
124:                public NewPropertyGroup unlock(Object key) {
125:                    return null;
126:                }
127:
128:                public PropertyGroup lock(Object key) {
129:                    return null;
130:                }
131:
132:                public PropertyGroup lock() {
133:                    return null;
134:                }
135:
136:                public PropertyGroup copy() {
137:                    return null;
138:                }
139:
140:                public Class getPrimaryClass() {
141:                    return primaryClass;
142:                }
143:
144:                public String getAssetGetMethod() {
145:                    return assetGetter;
146:                }
147:
148:                public String getAssetSetMethod() {
149:                    return assetSetter;
150:                }
151:
152:                public Class getIntrospectionClass() {
153:                    return LocationSchedulePGImpl.class;
154:                }
155:
156:                public synchronized boolean hasDataQuality() {
157:                    return (_real != null) && _real.hasDataQuality();
158:                }
159:
160:                // Finalization support
161:                private LocationSchedulePG _real = null;
162:
163:                public synchronized void finalize(PropertyGroup real) {
164:                    if (real instanceof  LocationSchedulePG) {
165:                        _real = (LocationSchedulePG) real;
166:                        notifyAll();
167:                    } else {
168:                        throw new IllegalArgumentException(
169:                                "Finalization with wrong class: " + real);
170:                    }
171:                }
172:
173:                private synchronized void waitForFinalize() {
174:                    while (_real == null) {
175:                        try {
176:                            wait();
177:                        } catch (InterruptedException _ie) {
178:                            // We should really let waitForFinalize throw InterruptedException
179:                            Thread.interrupted();
180:                        }
181:                    }
182:                }
183:            }
184:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.