Java Doc for AssetSkeletonBase.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 Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.beans.SimpleBeanInfo
      org.cougaar.planning.ldm.asset.AssetSkeletonBase

All known Subclasses:   org.cougaar.planning.ldm.asset.AssetSkeleton,  org.cougaar.logistics.plugin.trans.AssetSkeleton,
AssetSkeletonBase
abstract public class AssetSkeletonBase extends SimpleBeanInfo implements Serializable,Cloneable(Code)


Field Summary
final public static  longUNSPECIFIED_TIME
    
protected  booleanhasOtherTimePhasedProperties
    

Constructor Summary
protected  AssetSkeletonBase()
    
protected  AssetSkeletonBase(AssetSkeletonBase prototype)
    

Method Summary
public  voidaddOtherPropertyGroup(PropertyGroup prop)
    
public  voidaddOtherPropertyGroupSchedule(PropertyGroupSchedule pgs)
     Add a PropertyGroupSchedule to the set of properties.
synchronized  ArrayListcopyOtherProperties()
    
protected  voidfillAllPropertyGroups(Collection v)
    
protected  voidfillAllPropertyGroups(Collection v, long time)
    
protected  PropertyGroupgenerateDefaultPG(Class pgc)
     generate and set a default PG instance (usually empty) for an asset.
protected synchronized  PropertyGroupgetLocalPG(Class pgc, long t)
     return the value of the specified PG if it is already present in a slot.
protected synchronized  PropertyGroupSchedulegetLocalPGSchedule(Class pgc)
     return the value of the specified PropertyGroupSchedule if it is already present in a slot.
public synchronized  EnumerationgetOtherProperties()
    
public  booleanhasOtherTimePhasedProperties()
    
abstract protected  PropertyGrouplateBindPG(Class pgc, long t)
     request late binding from the LDM for this asset/PGClass.
final public  PropertyGrouplateBindPG(Class pgc)
    
protected synchronized  PropertyGroupremoveLocalPG(Class c)
    
protected synchronized  PropertyGroupremoveLocalPG(PropertyGroup pg)
    
protected synchronized  PropertyGroupScheduleremoveLocalPGSchedule(Class c)
    
public  PropertyGroupremoveOtherPropertyGroup(Class c)
     Removes the PropertyGroup matching the class passed in as an argument from the set of properties. Note: this implementation assumes that the set of properties holds one and only one instance of a given class.
Parameters:
  c - Class to match.
public  PropertyGroupremoveOtherPropertyGroup(PropertyGroup pg)
     Removes the PropertyGroup passed in as an argument from the set of properties.
public  PropertyGroupScheduleremoveOtherPropertyGroupSchedule(Class c)
     Removes the PropertyGroupSchedule whose PGClass matched the class passed in as an argument from the set of properties.
public  PropertyGroupScheduleremoveOtherPropertyGroupSchedule(PropertyGroupSchedule pgs)
     Removes the instance matching the PropertyGroupSchedule passed in as an argument Note: this implementation assumes that set of additional properties holds one and only one instance of a given PropertyGroupSchedule
Parameters:
  pgs - PropertyGroupSchedule to remove.
public  voidreplaceOtherPropertyGroup(PropertyGroup prop)
     Replace a PropertyGroup in the set of properties.
public  voidreplaceOtherPropertyGroupSchedule(PropertyGroupSchedule schedule)
     Replace a PropertyGroupSchedule in the set properties.
abstract public  PropertyGroupresolvePG(Class pgc, long t)
     get and possibly cache a PG value.
final public  PropertyGroupresolvePG(Class pgc)
    
abstract public  PropertyGroupScheduleresolvePGSchedule(Class pgc)
     get and possibly cache a PropertyGroupSchedule.
final public  PropertyGroupsearchForPropertyGroup(Class pgc)
    
final public  PropertyGroupsearchForPropertyGroup(PropertyGroup pg)
    
final public  PropertyGroupsearchForPropertyGroup(Class pgc, long t)
    
final public  PropertyGroupsearchForPropertyGroup(PropertyGroup pg, long time)
    
public synchronized  PropertyGroupSchedulesearchForPropertyGroupSchedule(Class c)
     return the PropertyGroupSchedule associated with the specified class.
final public  PropertyGroupSchedulesearchForPropertyGroupSchedule(PropertyGroup pg)
    
protected synchronized  voidsetLocalPG(Class pgc, PropertyGroup prop)
     Set the apropriate slot in the asset to the specified pg.
protected synchronized  voidsetLocalPGSchedule(PropertyGroupSchedule pgSchedule)
    
protected synchronized  voidsetOtherProperties(Collection newProps)
    

Field Detail
UNSPECIFIED_TIME
final public static long UNSPECIFIED_TIME(Code)
the (internal) time to mean unspecified *



hasOtherTimePhasedProperties
protected boolean hasOtherTimePhasedProperties(Code)




Constructor Detail
AssetSkeletonBase
protected AssetSkeletonBase()(Code)



AssetSkeletonBase
protected AssetSkeletonBase(AssetSkeletonBase prototype)(Code)




Method Detail
addOtherPropertyGroup
public void addOtherPropertyGroup(PropertyGroup prop)(Code)
Add a PropertyGroup to the set of properties
Parameters:
  prop - PropertyGroup to add



addOtherPropertyGroupSchedule
public void addOtherPropertyGroupSchedule(PropertyGroupSchedule pgs)(Code)
Add a PropertyGroupSchedule to the set of properties.
Parameters:
  pgs - PropertyGroupSchedule to add



copyOtherProperties
synchronized ArrayList copyOtherProperties()(Code)



fillAllPropertyGroups
protected void fillAllPropertyGroups(Collection v)(Code)



fillAllPropertyGroups
protected void fillAllPropertyGroups(Collection v, long time)(Code)



generateDefaultPG
protected PropertyGroup generateDefaultPG(Class pgc)(Code)
generate and set a default PG instance (usually empty) for an asset. Generally will just do a new. Concrete. Asset implementations will override this.



getLocalPG
protected synchronized PropertyGroup getLocalPG(Class pgc, long t)(Code)
return the value of the specified PG if it is already present in a slot.



getLocalPGSchedule
protected synchronized PropertyGroupSchedule getLocalPGSchedule(Class pgc)(Code)
return the value of the specified PropertyGroupSchedule if it is already present in a slot.



getOtherProperties
public synchronized Enumeration getOtherProperties()(Code)
the set of additional properties (includes PropertyGroups andPropertyGroupSchedules) - not synchronized!*



hasOtherTimePhasedProperties
public boolean hasOtherTimePhasedProperties()(Code)



lateBindPG
abstract protected PropertyGroup lateBindPG(Class pgc, long t)(Code)
request late binding from the LDM for this asset/PGClass. Late binders should set the asset's PG as appropriate in addition to returning the PG. Implemented in Asset null or a PropertyGroup instance.



lateBindPG
final public PropertyGroup lateBindPG(Class pgc)(Code)



removeLocalPG
protected synchronized PropertyGroup removeLocalPG(Class c)(Code)



removeLocalPG
protected synchronized PropertyGroup removeLocalPG(PropertyGroup pg)(Code)



removeLocalPGSchedule
protected synchronized PropertyGroupSchedule removeLocalPGSchedule(Class c)(Code)



removeOtherPropertyGroup
public PropertyGroup removeOtherPropertyGroup(Class c)(Code)
Removes the PropertyGroup matching the class passed in as an argument from the set of properties. Note: this implementation assumes that the set of properties holds one and only one instance of a given class.
Parameters:
  c - Class to match. PropertyGroup Return the property instance that was removed; otherwise, return null.



removeOtherPropertyGroup
public PropertyGroup removeOtherPropertyGroup(PropertyGroup pg)(Code)
Removes the PropertyGroup passed in as an argument from the set of properties.
Parameters:
  pg - PropertyGroup to remove PropertyGroup Return the property instance that was removed; otherwise, return null.



removeOtherPropertyGroupSchedule
public PropertyGroupSchedule removeOtherPropertyGroupSchedule(Class c)(Code)
Removes the PropertyGroupSchedule whose PGClass matched the class passed in as an argument from the set of properties. Note: this implementation assumes that set of additional properties holds one and only one instance of this PropertyGroupSchedule
Parameters:
  c - Class to match. PropertyGroupSchedule Return the PropertyGroupSchedule that was removed; otherwise, return null.



removeOtherPropertyGroupSchedule
public PropertyGroupSchedule removeOtherPropertyGroupSchedule(PropertyGroupSchedule pgs)(Code)
Removes the instance matching the PropertyGroupSchedule passed in as an argument Note: this implementation assumes that set of additional properties holds one and only one instance of a given PropertyGroupSchedule
Parameters:
  pgs - PropertyGroupSchedule to remove. Match based on the schedule'sPGClass. PropertyGroupSchedule Return the instance that was removed; otherwise, return null.



replaceOtherPropertyGroup
public void replaceOtherPropertyGroup(PropertyGroup prop)(Code)
Replace a PropertyGroup in the set of properties.
Parameters:
  prop - PropertyGroup to replace



replaceOtherPropertyGroupSchedule
public void replaceOtherPropertyGroupSchedule(PropertyGroupSchedule schedule)(Code)
Replace a PropertyGroupSchedule in the set properties.
Parameters:
  schedule - PropertyGroupSchedule to replace.



resolvePG
abstract public PropertyGroup resolvePG(Class pgc, long t)(Code)
get and possibly cache a PG value. The information can come from a number of places: a local slot a late binding the prototype (recurse to resolve on the prototype) a default value Will return Null_PG instances if present. implemented in Asset



resolvePG
final public PropertyGroup resolvePG(Class pgc)(Code)



resolvePGSchedule
abstract public PropertyGroupSchedule resolvePGSchedule(Class pgc)(Code)
get and possibly cache a PropertyGroupSchedule. The information can come from a number of places: a local slot the prototype (recurse to resolve on the prototype) implemented in Asset



searchForPropertyGroup
final public PropertyGroup searchForPropertyGroup(Class pgc)(Code)
External api for finding a property group by class at no specific time *



searchForPropertyGroup
final public PropertyGroup searchForPropertyGroup(PropertyGroup pg)(Code)
Convenient equivalent to searchForPropertyGroup(pg.getPrimaryClass()) *



searchForPropertyGroup
final public PropertyGroup searchForPropertyGroup(Class pgc, long t)(Code)
External api for finding a property group by class at a specific time *



searchForPropertyGroup
final public PropertyGroup searchForPropertyGroup(PropertyGroup pg, long time)(Code)
Convenient equivalent to searchForPropertyGroup(pg.getPrimaryClass(), time) *



searchForPropertyGroupSchedule
public synchronized PropertyGroupSchedule searchForPropertyGroupSchedule(Class c)(Code)
return the PropertyGroupSchedule associated with the specified class.
Parameters:
  c - Class of the PropertyGroup to look for



searchForPropertyGroupSchedule
final public PropertyGroupSchedule searchForPropertyGroupSchedule(PropertyGroup pg)(Code)
Convenient equivalent to searchForPropertyGroupSchedule(pg.getPrimaryClass()) *



setLocalPG
protected synchronized void setLocalPG(Class pgc, PropertyGroup prop)(Code)
Set the apropriate slot in the asset to the specified pg. Scheduled PGs have the time range in them, so the time (range) should not be specified in the arglist.



setLocalPGSchedule
protected synchronized void setLocalPGSchedule(PropertyGroupSchedule pgSchedule)(Code)
Set the apropriate slot in the asset to the specified pgSchedule



setOtherProperties
protected synchronized void setOtherProperties(Collection newProps)(Code)
replace the existing set of other properties (PropertyGroups and PropertyGroupSchedules)



Methods inherited from java.beans.SimpleBeanInfo
public BeanInfo[] getAdditionalBeanInfo()(Code)(Java Doc)
public BeanDescriptor getBeanDescriptor()(Code)(Java Doc)
public int getDefaultEventIndex()(Code)(Java Doc)
public int getDefaultPropertyIndex()(Code)(Java Doc)
public EventSetDescriptor[] getEventSetDescriptors()(Code)(Java Doc)
public java.awt.Image getIcon(int iconKind)(Code)(Java Doc)
public MethodDescriptor[] getMethodDescriptors()(Code)(Java Doc)
public PropertyDescriptor[] getPropertyDescriptors()(Code)(Java Doc)
public java.awt.Image loadImage(String resourceName)(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.