Java Doc for DataFrame.java in  » Science » Cougaar12_4 » org » cougaar » core » qos » frame » 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.core.qos.frame 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.cougaar.core.qos.frame.Frame
      org.cougaar.core.qos.frame.DataFrame

All known Subclasses:   org.cougaar.core.qos.frame.topology.Thing,  org.cougaar.core.qos.frame.RelationFrame,  org.cougaar.core.qos.frame.scale.Thing,
DataFrame
abstract public class DataFrame extends Frame implements PropertyChangeListener(Code)
This extension to Frame is the basic representation of a frame representing data (cf PrototypeFrame ). Classes generated from prototype xml extend this one, either directly or indirectly.

Inner Class :public class ReadLock extends Object

Field Summary
final public static  StringNIL
    

Constructor Summary
protected  DataFrame(FrameSet frameSet, UID uid)
    

Method Summary
 voidaddPathDependent(DataFrame dependent, String slot)
     Informs this frame that the given data frame depends on it (ie, if this frame changes, a dependent slot will change because the path will be different).
public  voidaddPropertyChangeListener(PropertyChangeListener pcl)
    
 voidaddRelationDependency(RelationFrame rframe, String slot)
     Informs this frame that the path-derived value of the given slot depends on the given relationship (ie, if the relationship changes, the value of the slot will change because the path will be different).
 voidaddRelationSlotDependency(DataFrame frame, String my_slot, String owner_slot)
     Informs this frame that the path-derived value of the my_slot depends on the value of owner_slot in the given frame (ie if the owner_slot changes in frame, my_slot will change).
 voidaddToFrameSet(FrameSet frameSet)
    
 voidclearRelationDependencies(String slot)
     Clear all inverse path dependencies for the given slot.
protected  voidcollectContainerSlotValues(Properties props)
    
protected  voidcollectSlotDescriptions(Map<String, SlotDescription> map)
    
protected  voidcollectSlotNames(Set<String> slots)
    
protected  voidcollectSlotValues(Properties props)
    
 voidcontainerChange(DataFrame old_container, DataFrame new_container)
    
public  DataFramecontainerFrame()
    
public  intcountRelations(String role, String relation)
    
protected  StringdisplayString()
    
public  DataFramefindFirstRelation(String role, String relation)
    
Parameters:
  role - FrameSet.PARENT or FrameSet.CHILD
Parameters:
  relation - The name of a relationship prototype Some frame to which this one is related and in which this oneplays the given role.
protected static  FrameMakerfindFrameMaker(String pkg, String proto)
    
public  Set<DataFrame>findRelations(String role, String relation)
    
public  Map<RelationFrame, DataFrame>findRelationshipFrames(String role, String relation)
    
protected  voidfireChange(String property, Object old_value, Object new_value)
    
protected  voidfireContainerChanges(DataFrame old_frame, DataFrame new_frame)
    
protected  voidfireContainerChanges(DataFrame new_frame)
    
protected  Booleanforce_Boolean(Object x)
    
protected  Doubleforce_Double(Object x)
    
protected  Floatforce_Float(Object x)
    
protected  Integerforce_Integer(Object x)
    
protected  Longforce_Long(Object x)
    
protected  Metricforce_Metric(Object x)
    
protected  Stringforce_String(Object x)
    
protected  booleanforce_boolean(Object x)
    
protected  doubleforce_double(Object x)
    
protected  floatforce_float(Object x)
    
protected  intforce_int(Object x)
    
protected  longforce_long(Object x)
    
public  PropertiesgetAllSlots()
    
public  StringgetContainerKind()
    
protected  ObjectgetInheritedValue(Frame origin, String slot)
    
public  PropertiesgetLocalSlots()
     name/value pairs of the local slots.
abstract protected  ObjectgetLocalValue(String slot)
    
protected static  LoggergetLogger()
    
protected synchronized  ObjectgetProperty(String slot)
    
 ObjectgetValue(Frame origin, String slot)
    
 Objectget_rlock()
    
abstract protected  voidinitializeLocalValue(String slot, Object value)
    
public  voidinitializeValues(Properties values)
    
public  booleanisa(String kind)
    
public static  DataFramenewFrame(FrameSet frameSet, String proto, UID uid, Properties initial_values)
    
public static  DataFramenewFrame(String pkg, FrameSet frameSet, String proto, UID uid, Properties values)
    
 voidnotifyAllPathDependents()
    
 voidnotifyPathDependents(String owner_slot)
    
 voidpathDependencyChange(String slot)
    
protected  voidpostInitialize()
    
public  voidpropertyChange(PropertyChangeEvent event)
    
protected static  voidregisterFrameMaker(String pkg, String proto, FrameMaker maker)
    
 voidremovePathDependent(DataFrame dependent, String slot)
     Informs this frame that the given data frame no longer depends on it.
protected synchronized  voidremoveProperty(String slot)
    
public  voidremovePropertyChangeListener(PropertyChangeListener pcl)
    
 voidremoveRelationDependency(RelationFrame rframe, String slot)
     Informs this frame that the path-derived value of the given slot no longer depends on the given relationship.
abstract protected  voidsetLocalValue(String slot, Object value)
    
protected synchronized  voidsetProperty(String slot, Object value)
    
public  voidsetValue(String slot, Object value)
     Updates the given slot value.
public  Map<String, SlotDescription>slotDescriptions()
    
protected  voidslotInitialized(String slot, Object value)
    
protected  voidslotModified(String slot, Object old_value, Object new_value, boolean notify_listeners, boolean notify_blackboard)
    
public  StringtoString()
    
 voidwrite(PrintWriter writer, int indentation, int offset, boolean allSlots)
    
 voidwriteSlots(PrintWriter writer, Map slots, int indentation, int offset)
    

Field Detail
NIL
final public static String NIL(Code)




Constructor Detail
DataFrame
protected DataFrame(FrameSet frameSet, UID uid)(Code)




Method Detail
addPathDependent
void addPathDependent(DataFrame dependent, String slot)(Code)
Informs this frame that the given data frame depends on it (ie, if this frame changes, a dependent slot will change because the path will be different). If this frame is a relation, the slot arg is the dependent slot, since any change at all to a relations frame triggers a dependency change. If this frame is the final data frame in a path, the slot arg is that frame's slot: only changes to that slot are relevant.



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener pcl)(Code)



addRelationDependency
void addRelationDependency(RelationFrame rframe, String slot)(Code)
Informs this frame that the path-derived value of the given slot depends on the given relationship (ie, if the relationship changes, the value of the slot will change because the path will be different). Caller should lock rlock.



addRelationSlotDependency
void addRelationSlotDependency(DataFrame frame, String my_slot, String owner_slot)(Code)
Informs this frame that the path-derived value of the my_slot depends on the value of owner_slot in the given frame (ie if the owner_slot changes in frame, my_slot will change).



addToFrameSet
void addToFrameSet(FrameSet frameSet)(Code)



clearRelationDependencies
void clearRelationDependencies(String slot)(Code)
Clear all inverse path dependencies for the given slot. Caller should lock rlock



collectContainerSlotValues
protected void collectContainerSlotValues(Properties props)(Code)



collectSlotDescriptions
protected void collectSlotDescriptions(Map<String, SlotDescription> map)(Code)



collectSlotNames
protected void collectSlotNames(Set<String> slots)(Code)



collectSlotValues
protected void collectSlotValues(Properties props)(Code)



containerChange
void containerChange(DataFrame old_container, DataFrame new_container)(Code)



containerFrame
public DataFrame containerFrame()(Code)
the container frame, if any, where 'containment' is definedby the frame's frameset.



countRelations
public int countRelations(String role, String relation)(Code)

Parameters:
  role - FrameSet.PARENT or FrameSet.CHILD
Parameters:
  relation - The name of a relationship prototype the number of RelationFrames that match the given prototypeand in which this frame plays the given role.



displayString
protected String displayString()(Code)



findFirstRelation
public DataFrame findFirstRelation(String role, String relation)(Code)

Parameters:
  role - FrameSet.PARENT or FrameSet.CHILD
Parameters:
  relation - The name of a relationship prototype Some frame to which this one is related and in which this oneplays the given role. If more than one such frame exists in the frameset, an arbitrary one is selected.



findFrameMaker
protected static FrameMaker findFrameMaker(String pkg, String proto)(Code)



findRelations
public Set<DataFrame> findRelations(String role, String relation)(Code)

Parameters:
  role - FrameSet.PARENT or FrameSet.CHILD
Parameters:
  relation - The name of a relationship prototype All frames to which this one is related and in which this oneplays the given role.



findRelationshipFrames
public Map<RelationFrame, DataFrame> findRelationshipFrames(String role, String relation)(Code)

Parameters:
  role - FrameSet.PARENT or FrameSet.CHILD
Parameters:
  relation - The name of a relationship prototype All RelationFrames that match the given prototype and inwhich this frame playes the given role.



fireChange
protected void fireChange(String property, Object old_value, Object new_value)(Code)



fireContainerChanges
protected void fireContainerChanges(DataFrame old_frame, DataFrame new_frame)(Code)



fireContainerChanges
protected void fireContainerChanges(DataFrame new_frame)(Code)



force_Boolean
protected Boolean force_Boolean(Object x)(Code)



force_Double
protected Double force_Double(Object x)(Code)



force_Float
protected Float force_Float(Object x)(Code)



force_Integer
protected Integer force_Integer(Object x)(Code)



force_Long
protected Long force_Long(Object x)(Code)



force_Metric
protected Metric force_Metric(Object x)(Code)



force_String
protected String force_String(Object x)(Code)



force_boolean
protected boolean force_boolean(Object x)(Code)



force_double
protected double force_double(Object x)(Code)



force_float
protected float force_float(Object x)(Code)



force_int
protected int force_int(Object x)(Code)



force_long
protected long force_long(Object x)(Code)



getAllSlots
public Properties getAllSlots()(Code)
name/value pairs of all slots.



getContainerKind
public String getContainerKind()(Code)
the name of the container prototype, if any, where'containment' is defined by the frame's frameset.



getInheritedValue
protected Object getInheritedValue(Frame origin, String slot)(Code)



getLocalSlots
public Properties getLocalSlots()(Code)
name/value pairs of the local slots. In this context "local"means: include slots the prototype tree but not from thecontainer tree.



getLocalValue
abstract protected Object getLocalValue(String slot)(Code)



getLogger
protected static Logger getLogger()(Code)



getProperty
protected synchronized Object getProperty(String slot)(Code)



getValue
Object getValue(Frame origin, String slot)(Code)



get_rlock
Object get_rlock()(Code)



initializeLocalValue
abstract protected void initializeLocalValue(String slot, Object value)(Code)



initializeValues
public void initializeValues(Properties values)(Code)



isa
public boolean isa(String kind)(Code)
true iff this frame matches the given prototype



newFrame
public static DataFrame newFrame(FrameSet frameSet, String proto, UID uid, Properties initial_values)(Code)



newFrame
public static DataFrame newFrame(String pkg, FrameSet frameSet, String proto, UID uid, Properties values)(Code)



notifyAllPathDependents
void notifyAllPathDependents()(Code)



notifyPathDependents
void notifyPathDependents(String owner_slot)(Code)



pathDependencyChange
void pathDependencyChange(String slot)(Code)



postInitialize
protected void postInitialize()(Code)



propertyChange
public void propertyChange(PropertyChangeEvent event)(Code)



registerFrameMaker
protected static void registerFrameMaker(String pkg, String proto, FrameMaker maker)(Code)



removePathDependent
void removePathDependent(DataFrame dependent, String slot)(Code)
Informs this frame that the given data frame no longer depends on it.



removeProperty
protected synchronized void removeProperty(String slot)(Code)



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener pcl)(Code)



removeRelationDependency
void removeRelationDependency(RelationFrame rframe, String slot)(Code)
Informs this frame that the path-derived value of the given slot no longer depends on the given relationship. Caller should lock rlock.



setLocalValue
abstract protected void setLocalValue(String slot, Object value)(Code)



setProperty
protected synchronized void setProperty(String slot, Object value)(Code)



setValue
public void setValue(String slot, Object value)(Code)
Updates the given slot value.



slotDescriptions
public Map<String, SlotDescription> slotDescriptions()(Code)
a Map of slot metatdata.



slotInitialized
protected void slotInitialized(String slot, Object value)(Code)



slotModified
protected void slotModified(String slot, Object old_value, Object new_value, boolean notify_listeners, boolean notify_blackboard)(Code)



toString
public String toString()(Code)



write
void write(PrintWriter writer, int indentation, int offset, boolean allSlots)(Code)



writeSlots
void writeSlots(PrintWriter writer, Map slots, int indentation, int offset)(Code)



Fields inherited from org.cougaar.core.qos.frame.Frame
protected transient FrameSet frameSet(Code)(Java Doc)

Methods inherited from org.cougaar.core.qos.frame.Frame
public Frame copy()(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public String evaluateVariable(String var)(Code)(Java Doc)
public FrameSet getFrameSet()(Code)(Java Doc)
protected Object getInheritedValue(Frame origin, String slot)(Code)(Java Doc)
abstract public String getKind()(Code)(Java Doc)
abstract public Properties getLocalSlots()(Code)(Java Doc)
public PrototypeFrame getPrototype()(Code)(Java Doc)
public UID getUID()(Code)(Java Doc)
abstract Object getValue(Frame origin, String slot)(Code)(Java Doc)
public Object getValue(String slot)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
abstract public boolean isa(String kind)(Code)(Java Doc)
boolean matchesSlots(Properties slot_value_pairs)(Code)(Java Doc)
public void setUID(UID uid)(Code)(Java Doc)
abstract public void setValue(String slot, Object value)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.