Java Doc for MemberInfo.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » integration » ide » events » 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 » IDE Netbeans » uml » org.netbeans.modules.uml.integration.ide.events 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.uml.integration.ide.events.ElementInfo
      org.netbeans.modules.uml.integration.ide.events.MemberInfo

MemberInfo
public class MemberInfo extends ElementInfo (Code)
The MemberInfo communicates with the EventManager to update Describe. MemberInfo is still a high level class. It knows how to communicate with the EventMangaer to update Describe, but it does not know any of the details of how to update Describe.
Because MemberInfo contains both before and after data, MemberInfo is able to search for the data member and update it to how the source file current represents the member. Revision History No. Date Who What --- ---- --- ---- 1 2002-04-25 Darshan Added (currently empty) constructors to create a MemberInfo given an IAttribute. 2 2002-04-26 Darshan Added constructor to create a MemberInfo off an IAttribute and reformatted the file to 4-space tabs. 3 2002-04-30 Darshan Used JavaClassUtils to map Describe's modifiers to Java modifiers. 4 2002-05-06 Darshan Changed MemberInfo(ClassInfo, IAttribute) to call the ElementInfo(INamedElement) constructor. 5 2002-05-29 Darshan Added check for navigable ends. 6 2002-06-05 Darshan Allow creation of MemberInfo from an IStructuralFeature instead of an IAttribute, since this allows us to construct MemberInfos from INavigableEnds (so that we can navigate to the attribute for a navigable end). 7 2002-06-21 Darshan Expanded check for the parent class for an INavigableEnd, fixed attribute delete and initializer bugs. 8 2002-06-22 Darshan Included code suggested by Sumitabh to find the referencing classifier of an INavigableEnd.
See Also:   EventManager



Constructor Summary
public  MemberInfo(ClassInfo container, int type)
     Intiailizes a new MemberInfo.
public  MemberInfo(ClassInfo container, IStructuralFeature attr)
    
public  MemberInfo(IStructuralFeature attr)
    

Method Summary
 voidcheckGenerateName()
    
public static  StringgetArrayType(String type, int mul)
    
public static  StringgetArrayTypeName(ITypedElement el)
    
public  IAttributegetAttribute()
    
public  StringgetCode()
    
public  StringgetCodeGenType()
    
public  StringgetCodeGenType(boolean fullyQualified)
    
public  StringgetCollectionOverrideDataType()
    
public  ClassInfogetContainingClass()
     Retrieves the containing clas of the data member.
public  StringgetFilename()
    
public  StringgetInitializer()
     Retrieves the initailizer for the data member.
public static  intgetMultiplicity(String name)
     Returns the number of array specifiers that qualify the type name given.
Parameters:
  name - The type name (including array specifiers) The number of array specifiers.
public static  intgetMultiplicity(ITypedElement attr)
    
public static  intgetMultiplicity(IMultiplicity mul)
    
public  StringgetNewQualifiedType()
     Retrieves the full name for the data member's new type.
public  StringgetNewType()
     Retrieves the simple name for the data member's new type.
public  IProjectgetOwningProject()
    
public  IProjectgetProject()
    
public  StringgetQualifiedType()
     Retrieves the full name for the data member's original type.
public  ArrayList<String[]>getReferredCodeGenTypes()
    
public  StringgetType()
     Retrieves the simple name for the data member's original type.
public static  StringgetTypeName(String name)
     Strips out array specifiers from a given type name.
public  intgetmodifierMask()
    
public  booleanisCollectionType()
    
public  booleanisNonPrimitive()
    
public  booleanisUseCollectionOverride()
    
public  booleanisUseGenerics()
    
public  voidsetContainingClass(ClassInfo container)
     Sets the containing clas of the data member.
public  voidsetFromAttribute(IStructuralFeature attr)
     Set all properties for this MemberInfo using info from the given IStructuralFeature.
public  voidsetInitializer(String value)
     Sets the initailizer for the data member.
public static  voidsetMultiplicity(ITypedElement attr, int newmultiplicity, int oldmultiplicity)
    
public  voidsetNewType(String fullName, String value)
     Sets the new type of the data member.
public  voidsetType(String fullName, String value)
     Sets the original type of the data member.
public  voidsetmodifierMask(int modifierMask)
    
public static  StringstripBrackets(String val)
    
public  voidsyncFields()
    
public  StringtoString()
    
public  voidupdate()
     Updates the data member.
public  MemberTransactionupdate(SymbolTransaction trans)
     Updates the data member using the specified Symbol transaction.
Parameters:
  trans - The transaction that is to be used to update the correct symbol.


Constructor Detail
MemberInfo
public MemberInfo(ClassInfo container, int type)(Code)
Intiailizes a new MemberInfo.
Parameters:
  container - The class that contains the data member.
Parameters:
  type - The transaction type.
See Also:   ElementInfo



MemberInfo
public MemberInfo(ClassInfo container, IStructuralFeature attr)(Code)



MemberInfo
public MemberInfo(IStructuralFeature attr)(Code)




Method Detail
checkGenerateName
void checkGenerateName()(Code)



getArrayType
public static String getArrayType(String type, int mul)(Code)



getArrayTypeName
public static String getArrayTypeName(ITypedElement el)(Code)



getAttribute
public IAttribute getAttribute()(Code)



getCode
public String getCode()(Code)



getCodeGenType
public String getCodeGenType()(Code)



getCodeGenType
public String getCodeGenType(boolean fullyQualified)(Code)



getCollectionOverrideDataType
public String getCollectionOverrideDataType()(Code)



getContainingClass
public ClassInfo getContainingClass()(Code)
Retrieves the containing clas of the data member. The containing class.



getFilename
public String getFilename()(Code)



getInitializer
public String getInitializer()(Code)
Retrieves the initailizer for the data member. The data members initailizer.



getMultiplicity
public static int getMultiplicity(String name)(Code)
Returns the number of array specifiers that qualify the type name given.
Parameters:
  name - The type name (including array specifiers) The number of array specifiers. Ex: For "int[][]", returns 2.



getMultiplicity
public static int getMultiplicity(ITypedElement attr)(Code)



getMultiplicity
public static int getMultiplicity(IMultiplicity mul)(Code)



getNewQualifiedType
public String getNewQualifiedType()(Code)
Retrieves the full name for the data member's new type. The fully qualified type data member.



getNewType
public String getNewType()(Code)
Retrieves the simple name for the data member's new type. The data types simple name.



getOwningProject
public IProject getOwningProject()(Code)



getProject
public IProject getProject()(Code)



getQualifiedType
public String getQualifiedType()(Code)
Retrieves the full name for the data member's original type. The fully qualified type data member.



getReferredCodeGenTypes
public ArrayList<String[]> getReferredCodeGenTypes()(Code)



getType
public String getType()(Code)
Retrieves the simple name for the data member's original type. The data types simple name.



getTypeName
public static String getTypeName(String name)(Code)
Strips out array specifiers from a given type name.
Parameters:
  name - The type name (possibly including array specifiers) For "int[][]" returns "int"For "String" returns "String"



getmodifierMask
public int getmodifierMask()(Code)



isCollectionType
public boolean isCollectionType()(Code)



isNonPrimitive
public boolean isNonPrimitive()(Code)
Checks if the data type of the attribute is primitive true if data type is non primitive or not a String



isUseCollectionOverride
public boolean isUseCollectionOverride()(Code)



isUseGenerics
public boolean isUseGenerics()(Code)



setContainingClass
public void setContainingClass(ClassInfo container)(Code)
Sets the containing clas of the data member.
Parameters:
  container - The containing class.



setFromAttribute
public void setFromAttribute(IStructuralFeature attr)(Code)
Set all properties for this MemberInfo using info from the given IStructuralFeature.
Parameters:
  attr - An IStructuralFeature for the attribute (ornavigable association).



setInitializer
public void setInitializer(String value)(Code)
Sets the initailizer for the data member. The data members initailizer.



setMultiplicity
public static void setMultiplicity(ITypedElement attr, int newmultiplicity, int oldmultiplicity)(Code)



setNewType
public void setNewType(String fullName, String value)(Code)
Sets the new type of the data member.
Parameters:
  fullName - The fully qualified type data member
Parameters:
  value - The data types simple name.



setType
public void setType(String fullName, String value)(Code)
Sets the original type of the data member.
Parameters:
  fullName - The fully qualified type data member
Parameters:
  value - The data types simple name.



setmodifierMask
public void setmodifierMask(int modifierMask)(Code)



stripBrackets
public static String stripBrackets(String val)(Code)



syncFields
public void syncFields()(Code)



toString
public String toString()(Code)



update
public void update()(Code)
Updates the data member. A Class Transaction is began and MemberInfo.update(GDSymbolTransaction trans) update is called.



update
public MemberTransaction update(SymbolTransaction trans)(Code)
Updates the data member using the specified Symbol transaction.
Parameters:
  trans - The transaction that is to be used to update the correct symbol. The member transaction that was created to update the data member.



Fields inherited from org.netbeans.modules.uml.integration.ide.events.ElementInfo
final public static int CREATE(Code)(Java Doc)
final public static int DELETE(Code)(Java Doc)
final public static int MODIFY(Code)(Java Doc)
protected Integer mModifiers(Code)(Java Doc)

Methods inherited from org.netbeans.modules.uml.integration.ide.events.ElementInfo
protected void assertIsIdentifier(String name) throws InvalidIdentifierException(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public String getChangeName()(Code)(Java Doc)
public int getChangeType()(Code)(Java Doc)
abstract public String getCode()(Code)(Java Doc)
public String getComment()(Code)(Java Doc)
public String getFilename()(Code)(Java Doc)
public String getMarkerID()(Code)(Java Doc)
public Integer getModifiers()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public String getNewName()(Code)(Java Doc)
public IProject getOwningProject()(Code)(Java Doc)
public IProject getProject()(Code)(Java Doc)
public boolean isCommentSet()(Code)(Java Doc)
public static boolean isIdentifier(String name)(Code)(Java Doc)
public boolean matches(ElementInfo el)(Code)(Java Doc)
public void setChangeType(int value)(Code)(Java Doc)
public void setComment(String value)(Code)(Java Doc)
public void setModifiers(Integer mod)(Code)(Java Doc)
public void setName(String value)(Code)(Java Doc)
public void setNewName(String value)(Code)(Java Doc)
public void syncFields()(Code)(Java Doc)
abstract public void update()(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.