Java Doc for Organization.java in  » Science » Cougaar12_4 » org » cougaar » planning » servlet » data » hierarchy » 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.servlet.data.hierarchy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.cougaar.planning.servlet.data.hierarchy.Organization

Organization
public class Organization implements XMLable,DeXMLable,Serializable,Comparable(Code)
Represents the organization data within the hierarchy PSP
since:
   1/24/01

Inner Class :public static class OrgRelation implements Serializable,Comparable

Field Summary
final public static  intADMIN_SUBORDINATE
    
final public static  StringNAME_TAG
    
final protected static  StringPRETTY_NAME_TAG
    
final protected static  StringRELATION_TAG
    
final public static  intSUBORDINATE
    
protected  StringUID
    
final protected static  StringUID_TAG
    
protected  StringprettyName
    
protected  Listrelations
    

Constructor Summary
public  Organization()
    

Method Summary
public  voidaddRelation(String UID, int relation)
    
public  voidaddRelation(String UID, String relation)
    
public  booleancloseTag(String name)
     Report an endElement.
public  intcompareTo(Object other)
    
public  voidcompleteSubObject(String name, DeXMLable obj)
     This function will be called whenever a subobject has completed de-XMLizing and needs to be encorporated into this object.
public  booleanequals(Object other)
    
public  StringgetNamedRelationAt(int i)
    
public  intgetNumRelations()
    
public  OrgRelationgetOrgRelationAt(int i)
    
public  StringgetPrettyName()
    
public  StringgetRelatedOrgAt(int i)
    
public  intgetRelationAt(int i)
    
public  StringgetRelationUIDAt(int i)
    
public  ListgetRelations()
    
public  StringgetUID()
    
public  voidopenTag(String name, Attributes attr, String data)
     Report a startElement that pertains to THIS object, not any sub objects.
public  voidsetPrettyName(String name)
    
public  voidsetUID(String UID)
    
public  StringtoString()
    
public  voidtoXML(XMLWriter w)
    

Field Detail
ADMIN_SUBORDINATE
final public static int ADMIN_SUBORDINATE(Code)



NAME_TAG
final public static String NAME_TAG(Code)



PRETTY_NAME_TAG
final protected static String PRETTY_NAME_TAG(Code)



RELATION_TAG
final protected static String RELATION_TAG(Code)



SUBORDINATE
final public static int SUBORDINATE(Code)



UID
protected String UID(Code)



UID_TAG
final protected static String UID_TAG(Code)



prettyName
protected String prettyName(Code)



relations
protected List relations(Code)




Constructor Detail
Organization
public Organization()(Code)




Method Detail
addRelation
public void addRelation(String UID, int relation)(Code)



addRelation
public void addRelation(String UID, String relation)(Code)



closeTag
public boolean closeTag(String name) throws UnexpectedXMLException(Code)
Report an endElement.
Parameters:
  name - endElement tag true iff the object is DONE being DeXMLized



compareTo
public int compareTo(Object other)(Code)



completeSubObject
public void completeSubObject(String name, DeXMLable obj) throws UnexpectedXMLException(Code)
This function will be called whenever a subobject has completed de-XMLizing and needs to be encorporated into this object.
Parameters:
  name - the startElement tag that caused this subobjectto be created
Parameters:
  obj - the object itself



equals
public boolean equals(Object other)(Code)



getNamedRelationAt
public String getNamedRelationAt(int i)(Code)



getNumRelations
public int getNumRelations()(Code)



getOrgRelationAt
public OrgRelation getOrgRelationAt(int i)(Code)



getPrettyName
public String getPrettyName()(Code)



getRelatedOrgAt
public String getRelatedOrgAt(int i)(Code)



getRelationAt
public int getRelationAt(int i)(Code)



getRelationUIDAt
public String getRelationUIDAt(int i)(Code)



getRelations
public List getRelations()(Code)



getUID
public String getUID()(Code)



openTag
public void openTag(String name, Attributes attr, String data) throws UnexpectedXMLException(Code)
Report a startElement that pertains to THIS object, not any sub objects. Call also provides the elements Attributes and data. Note, that unlike in a SAX parser, data is guaranteed to contain ALL of this tag's data, not just a 'chunk' of it.
Parameters:
  name - startElement tag
Parameters:
  attr - attributes for this tag
Parameters:
  data - data for this tag



setPrettyName
public void setPrettyName(String name)(Code)



setUID
public void setUID(String UID)(Code)



toString
public String toString()(Code)



toXML
public void toXML(XMLWriter w) throws IOException(Code)
Write this class out to the Writer in XML format
Parameters:
  w - output Writer



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.