Java Doc for Asset.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) 


org.cougaar.planning.ldm.asset.AssetSkeletonBase
   org.cougaar.planning.ldm.asset.AssetSkeleton
      org.cougaar.planning.ldm.asset.Asset

All known Subclasses:   org.cougaar.planning.ldm.asset.EntityAdapter,  org.cougaar.pizza.asset.AssetSkeleton,  org.cougaar.planning.ldm.asset.AggregateAssetAdapter,  org.cougaar.glm.ldm.asset.AssetSkeleton,  org.cougaar.planning.ldm.asset.AssetGroup,  org.cougaar.planning.ldm.asset.AbstractAsset,  org.cougaar.lib.quo.performance.assets.AssetSkeleton,  org.cougaar.lib.quo.performance.ProgrammerAssetAdapter,  org.cougaar.logistics.ldm.asset.AssetSkeleton,  org.cougaar.logistics.plugin.inventory.AssetSkeleton,
Asset
public class Asset extends org.cougaar.planning.ldm.asset.AssetSkeleton implements Cloneable,UniqueObject,Publishable(Code)
Base class for all instantiable assets.

Inner Class :public interface AssetChangeReport extends ChangeReport

Field Summary
protected transient  AssetmyPrototype
    
public transient  PropertyChangeSupportpcs
    
final public static  booleanregeneratePrototypeCacheP
    
final public static  booleansendPrototypeAsIDP
    
final static  longserialVersionUID
    

Constructor Summary
public  Asset()
    
protected  Asset(Asset prototype)
    

Method Summary
public  voidaddPropertyChangeListener(PropertyChangeListener pcl)
    
final public  voidbindToLDM(LDMServesPlugin ldm)
     Called by readObject and factory to tell an asset where it is resident to allow such things as late binding of PGs.
public  Objectclone()
     For internal use only - use Factory.copyInstance() instead.
public  Assetcopy()
     For internal use only - use Factory.copyInstance() instead.
public  AssetcreateAggregate(int quantity)
    
public  AssetcreateInstance()
    
final public  AssetcreateInstance(String id)
     Create an instance of a prototype asset, giving the new instance an itemid of id.
public  booleanequals(Object o)
     Equals for assets is defined as being exactly the same class and having equals TypeIdentification and ItemIdentification codes.
public  VectorfetchAllProperties()
    
public  VectorfetchAllProperties(long time)
    
protected  voidfillAllPropertyGroups(Vector v)
    
protected  voidfillAllPropertyGroups(Vector v, long time)
    
public  EnumerationgetCapabilities()
    
public  ItemIdentificationPGgetItemIdentificationPG()
    
public  ObjectgetKey()
    
protected  PropertyGroupgetLocalPG(Class pgc, long t)
     return the value of the specified PG if it is already present in a slot.
protected  PropertyGroupSchedulegetLocalPGSchedule(Class pgc)
     return the value of the specified PG if it is already present in a slot.
public  StringgetName()
    
public  PropertyDescriptor[]getPropertyDescriptors()
    
public  AssetgetPrototype()
    
public  RoleSchedulegetRoleSchedule()
    
public  TypeIdentificationPGgetTypeIdentificationPG()
    
public  UIDgetUID()
    
public  inthashCode()
    
public  AssetinstanceForCopy()
     creates an instance of the the right class, suitable for filling with properties by clone() methods.
final public  booleanisPGLocal(Class pgc)
     true IFF the specified PG class is set, available and non-null on the Asset instance.
final public  booleanisPGLocal(Class pgc, long t)
     true IFF the specified PG class is set, available and non-null on the Asset instance.
final public  booleanisPGScheduleLocal(Class pgc)
     true IFF the specified PGSchedule class is set, available and non-null on the Asset instance.
public  booleanisPersistable()
    
final protected  PropertyGrouplateBindPG(Class pgc, long t)
     request late binding from the LDM for this asset/PGClass.
 voidprivatelySetPrototype(Asset arg)
    
final public  voidregisterWithLDM(LDMServesPlugin ldm)
     Called by Asset factories to register the asset with the LDM.
public  voidremovePropertyChangeListener(PropertyChangeListener pcl)
    
final public  PropertyGroupresolvePG(Class pgc, long t)
     get and possibly cache a PG value.
final public  PropertyGroupScheduleresolvePGSchedule(Class pgc)
     get and possibly cache a PropertyGroupSchedule.
public  PropertyGroupSchedulesearchForPropertyGroupSchedule(Class c)
    
public  voidsetItemIdentificationPG(PropertyGroup arg_ItemIdentificationPG)
    
protected  voidsetLocalPG(Class pgc, PropertyGroup pg)
     Set the apropriate slot in the asset to the specified pg.
protected  voidsetLocalPGSchedule(PropertyGroupSchedule pgSchedule)
     Set the apropriate slot in the asset to the specified pg.
public  voidsetPropertyGroup(NewPropertyGroup property)
     Introspection-based propertygroup setter.
public  AssetsetPrototype(Asset arg_Prototype)
    
public  voidsetTypeIdentificationPG(PropertyGroup arg_TypeIdentificationPG)
    
public  voidsetUID(UID uid)
    
public synchronized  StringtoString()
    

Field Detail
myPrototype
protected transient Asset myPrototype(Code)



pcs
public transient PropertyChangeSupport pcs(Code)



regeneratePrototypeCacheP
final public static boolean regeneratePrototypeCacheP(Code)



sendPrototypeAsIDP
final public static boolean sendPrototypeAsIDP(Code)



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
Asset
public Asset()(Code)



Asset
protected Asset(Asset prototype)(Code)




Method Detail
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener pcl)(Code)



bindToLDM
final public void bindToLDM(LDMServesPlugin ldm)(Code)
Called by readObject and factory to tell an asset where it is resident to allow such things as late binding of PGs.



clone
public Object clone() throws CloneNotSupportedException(Code)
For internal use only - use Factory.copyInstance() instead. extended



copy
public Asset copy()(Code)
For internal use only - use Factory.copyInstance() instead. extended



createAggregate
public Asset createAggregate(int quantity)(Code)



createInstance
public Asset createInstance()(Code)
Create an instance of a prototype asset *



createInstance
final public Asset createInstance(String id)(Code)
Create an instance of a prototype asset, giving the new instance an itemid of id.



equals
public boolean equals(Object o)(Code)
Equals for assets is defined as being exactly the same class and having equals TypeIdentification and ItemIdentification codes.



fetchAllProperties
public Vector fetchAllProperties()(Code)
return all the properties as a new vector



fetchAllProperties
public Vector fetchAllProperties(long time)(Code)
return all the properties as a new vector



fillAllPropertyGroups
protected void fillAllPropertyGroups(Vector v)(Code)



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



getCapabilities
public Enumeration getCapabilities()(Code)



getItemIdentificationPG
public ItemIdentificationPG getItemIdentificationPG()(Code)



getKey
public Object getKey()(Code)



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



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



getName
public String getName()(Code)



getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()(Code)



getPrototype
public Asset getPrototype()(Code)



getRoleSchedule
public RoleSchedule getRoleSchedule()(Code)
RoleSchedule - the RoleSchedule object associated with this AssetNote that the old Enumeration getRoleSchedule() is no longer used in assetuse asset.getRoleSchedule().getRoleSchedule for the enumeration of the roleschedule



getTypeIdentificationPG
public TypeIdentificationPG getTypeIdentificationPG()(Code)



getUID
public UID getUID()(Code)



hashCode
public int hashCode()(Code)



instanceForCopy
public Asset instanceForCopy()(Code)
creates an instance of the the right class, suitable for filling with properties by clone() methods.



isPGLocal
final public boolean isPGLocal(Class pgc)(Code)
true IFF the specified PG class is set, available and non-null on the Asset instance. No checks for late-binding or prototype are ever performedfor this check.



isPGLocal
final public boolean isPGLocal(Class pgc, long t)(Code)
true IFF the specified PG class is set, available and non-null on the Asset instance. No checks for late-binding or prototype are ever performedfor this check. This variation is for querying at a specific time. If time is specified as Asset.UNSPECIFIED_TIME, then this call is equivalent tothe single-argument isPGLocal(class).



isPGScheduleLocal
final public boolean isPGScheduleLocal(Class pgc)(Code)
true IFF the specified PGSchedule class is set, available and non-null on the Asset instance. No checks for late-binding or prototype are ever performedfor this check.



isPersistable
public boolean isPersistable()(Code)



lateBindPG
final 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. Implements an abstract method from AssetSkeletonBase. null or a PropertyGroup instance.



privatelySetPrototype
void privatelySetPrototype(Asset arg)(Code)
used internally *



registerWithLDM
final public void registerWithLDM(LDMServesPlugin ldm)(Code)
Called by Asset factories to register the asset with the LDM. This assigns a UID to the Asset and binds the instance to the ldm.



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener pcl)(Code)



resolvePG
final 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. Defined as abstract in AssetSkeletonBase



resolvePGSchedule
final 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) Defined as abstract in AssetSkeletonBase



searchForPropertyGroupSchedule
public PropertyGroupSchedule searchForPropertyGroupSchedule(Class c)(Code)



setItemIdentificationPG
public void setItemIdentificationPG(PropertyGroup arg_ItemIdentificationPG)(Code)



setLocalPG
protected void setLocalPG(Class pgc, PropertyGroup pg)(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 void setLocalPGSchedule(PropertyGroupSchedule pgSchedule)(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.



setPropertyGroup
public void setPropertyGroup(NewPropertyGroup property)(Code)
Introspection-based propertygroup setter. The property will be added to either the built-in-property slots or the Other property set as appropriate to the actual class of the asset.



setPrototype
public Asset setPrototype(Asset arg_Prototype)(Code)



setTypeIdentificationPG
public void setTypeIdentificationPG(PropertyGroup arg_TypeIdentificationPG)(Code)



setUID
public void setUID(UID uid)(Code)



toString
public synchronized String toString()(Code)



Methods inherited from org.cougaar.planning.ldm.asset.AssetSkeleton
public ClusterPG getClusterPG()(Code)(Java Doc)
public CommunityPG getCommunityPG(long time)(Code)(Java Doc)
public CommunityPG getCommunityPG()(Code)(Java Doc)
public PropertyGroupSchedule getCommunityPGSchedule()(Code)(Java Doc)
public EntityPG getEntityPG()(Code)(Java Doc)
public ItemIdentificationPG getItemIdentificationPG()(Code)(Java Doc)
public LocationSchedulePG getLocationSchedulePG()(Code)(Java Doc)
public RelationshipPG getRelationshipPG()(Code)(Java Doc)
public TypeIdentificationPG getTypeIdentificationPG()(Code)(Java Doc)
public boolean hasClusterPG()(Code)(Java Doc)
public boolean hasCommunityPG()(Code)(Java Doc)
public boolean hasCommunityPG(long time)(Code)(Java Doc)
public boolean hasEntityPG()(Code)(Java Doc)
public boolean hasItemIdentificationPG()(Code)(Java Doc)
public boolean hasLocationSchedulePG()(Code)(Java Doc)
public boolean hasRelationshipPG()(Code)(Java Doc)
public boolean hasTypeIdentificationPG()(Code)(Java Doc)
public void setClusterPG(PropertyGroup aClusterPG)(Code)(Java Doc)
public void setCommunityPG(PropertyGroup aCommunityPG)(Code)(Java Doc)
public void setCommunityPGSchedule(PropertyGroupSchedule schedule)(Code)(Java Doc)
public void setEntityPG(PropertyGroup aEntityPG)(Code)(Java Doc)
public void setItemIdentificationPG(PropertyGroup aItemIdentificationPG)(Code)(Java Doc)
public void setLocationSchedulePG(PropertyGroup aLocationSchedulePG)(Code)(Java Doc)
public void setRelationshipPG(PropertyGroup aRelationshipPG)(Code)(Java Doc)
public void setTypeIdentificationPG(PropertyGroup aTypeIdentificationPG)(Code)(Java Doc)

Fields inherited from org.cougaar.planning.ldm.asset.AssetSkeletonBase
final public static long UNSPECIFIED_TIME(Code)(Java Doc)
protected boolean hasOtherTimePhasedProperties(Code)(Java Doc)

Methods inherited from org.cougaar.planning.ldm.asset.AssetSkeletonBase
public void addOtherPropertyGroup(PropertyGroup prop)(Code)(Java Doc)
public void addOtherPropertyGroupSchedule(PropertyGroupSchedule pgs)(Code)(Java Doc)
synchronized ArrayList copyOtherProperties()(Code)(Java Doc)
protected void fillAllPropertyGroups(Collection v)(Code)(Java Doc)
protected void fillAllPropertyGroups(Collection v, long time)(Code)(Java Doc)
protected PropertyGroup generateDefaultPG(Class pgc)(Code)(Java Doc)
protected synchronized PropertyGroup getLocalPG(Class pgc, long t)(Code)(Java Doc)
protected synchronized PropertyGroupSchedule getLocalPGSchedule(Class pgc)(Code)(Java Doc)
public synchronized Enumeration getOtherProperties()(Code)(Java Doc)
public boolean hasOtherTimePhasedProperties()(Code)(Java Doc)
abstract protected PropertyGroup lateBindPG(Class pgc, long t)(Code)(Java Doc)
final public PropertyGroup lateBindPG(Class pgc)(Code)(Java Doc)
protected synchronized PropertyGroup removeLocalPG(Class c)(Code)(Java Doc)
protected synchronized PropertyGroup removeLocalPG(PropertyGroup pg)(Code)(Java Doc)
protected synchronized PropertyGroupSchedule removeLocalPGSchedule(Class c)(Code)(Java Doc)
public PropertyGroup removeOtherPropertyGroup(Class c)(Code)(Java Doc)
public PropertyGroup removeOtherPropertyGroup(PropertyGroup pg)(Code)(Java Doc)
public PropertyGroupSchedule removeOtherPropertyGroupSchedule(Class c)(Code)(Java Doc)
public PropertyGroupSchedule removeOtherPropertyGroupSchedule(PropertyGroupSchedule pgs)(Code)(Java Doc)
public void replaceOtherPropertyGroup(PropertyGroup prop)(Code)(Java Doc)
public void replaceOtherPropertyGroupSchedule(PropertyGroupSchedule schedule)(Code)(Java Doc)
abstract public PropertyGroup resolvePG(Class pgc, long t)(Code)(Java Doc)
final public PropertyGroup resolvePG(Class pgc)(Code)(Java Doc)
abstract public PropertyGroupSchedule resolvePGSchedule(Class pgc)(Code)(Java Doc)
final public PropertyGroup searchForPropertyGroup(Class pgc)(Code)(Java Doc)
final public PropertyGroup searchForPropertyGroup(PropertyGroup pg)(Code)(Java Doc)
final public PropertyGroup searchForPropertyGroup(Class pgc, long t)(Code)(Java Doc)
final public PropertyGroup searchForPropertyGroup(PropertyGroup pg, long time)(Code)(Java Doc)
public synchronized PropertyGroupSchedule searchForPropertyGroupSchedule(Class c)(Code)(Java Doc)
final public PropertyGroupSchedule searchForPropertyGroupSchedule(PropertyGroup pg)(Code)(Java Doc)
protected synchronized void setLocalPG(Class pgc, PropertyGroup prop)(Code)(Java Doc)
protected synchronized void setLocalPGSchedule(PropertyGroupSchedule pgSchedule)(Code)(Java Doc)
protected synchronized void setOtherProperties(Collection newProps)(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.