01: package net.refractions.udig.project.internal;
02:
03: import org.eclipse.emf.ecore.EObject;
04:
05: /**
06: * TODO Purpose of net.refractions.udig.project.internal
07: * <p>
08: * </p>
09: *
10: * @author Jesse
11: * @since 1.0.0
12: * @model
13: */
14: public interface BlackboardEntry extends EObject {
15:
16: /**
17: * <!-- begin-user-doc --> <!-- end-user-doc -->
18: * @generated
19: */
20: String copyright = "uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004, Refractions Research Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details."; //$NON-NLS-1$
21:
22: /**
23: * The key identifiying the object.
24: *
25: * @uml.property name="key"
26: * @model
27: */
28: String getKey();
29:
30: /**
31: * Sets the value of the '{@link net.refractions.udig.project.internal.BlackboardEntry#getKey <em>Key</em>}' attribute.
32: * <!-- begin-user-doc --> <!-- end-user-doc -->
33: * @param value the new value of the '<em>Key</em>' attribute.
34: * @see #getKey()
35: * @generated
36: */
37: void setKey(String value);
38:
39: /**
40: * Contents to persist.
41: *
42: * @uml.property name="memento"
43: * @model
44: */
45: String getMemento();
46:
47: /**
48: * Sets the value of the '{@link net.refractions.udig.project.internal.BlackboardEntry#getMemento <em>Memento</em>}' attribute.
49: * <!-- begin-user-doc --> <!-- end-user-doc -->
50: * @param value the new value of the '<em>Memento</em>' attribute.
51: * @see #getMemento()
52: * @generated
53: */
54: void setMemento(String value);
55:
56: /**
57: * Returns the cached type of the object being stored.
58: *
59: * @uml.property name="objectClass"
60: * @model transient="true" volatile="true"
61: */
62: Class getObjectClass();
63:
64: /**
65: * Sets the value of the '{@link net.refractions.udig.project.internal.BlackboardEntry#getObjectClass <em>Object Class</em>}' attribute.
66: * <!-- begin-user-doc --> <!-- end-user-doc -->
67: * @param value the new value of the '<em>Object Class</em>' attribute.
68: * @see #getObjectClass()
69: * @generated
70: */
71: void setObjectClass(Class value);
72:
73: /**
74: * Returns the cached object.
75: * <p>
76: * Value is generated using IPersister.load( Memento mem ).
77: * </p>
78: *
79: * @return the object if it exists, or null if the cache is empty.
80: * @uml.property name="object"
81: * @model transient="true" volatile="true"
82: */
83: Object getObject();
84:
85: /**
86: * Sets the value of the '{@link net.refractions.udig.project.internal.BlackboardEntry#getObject <em>Object</em>}' attribute.
87: * <!-- begin-user-doc --> <!-- end-user-doc -->
88: * @param value the new value of the '<em>Object</em>' attribute.
89: * @see #getObject()
90: * @generated
91: */
92: void setObject(Object value);
93:
94: }
|