Update of /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/cimxml/sax/node
In directory vz-cvs-3.sog:/tmp/cvs-serv24128/src/org/sblim/cimclient/internal/cimxml/sax/node
Modified Files:
ClassNode.java
Log Message:
3500619 - JSR48 1.0.0: CIMClass association/key clean up
Index: ClassNode.java
===================================================================
RCS file: /cvsroot/sblim/jsr48-client/src/org/sblim/cimclient/internal/cimxml/sax/node/ClassNode.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ClassNode.java 12 Jun 2009 02:33:23 -0000 1.9
+++ ClassNode.java 2 Apr 2012 20:41:12 -0000 1.10
@@ -1,5 +1,5 @@
/**
- * (C) Copyright IBM Corp. 2006, 2009
+ * (C) Copyright IBM Corp. 2006, 2012
*
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
@@ -19,8 +19,9 @@
* 1783288 2007-09-10 ebak CIMClass.isAssociation() not working for retrieved classes.
* 2003590 2008-06-30 blaschke-oss Change licensing from CPL to EPL
* 2524131 2009-01-21 raman_arora Upgrade client to JDK 1.5 (Phase 1)
- * 2531371 2009-02-10 raman_arora Upgrade client to JDK 1.5 (Phase 2)
+ * 2531371 2009-02-10 raman_arora Upgrade client to JDK 1.5 (Phase 2)
* 2797550 2009-06-01 raman_arora JSR48 compliance - add Java Generics
+ * 3500619 2012-03-16 blaschke-oss JSR48 1.0.0: CIMClass association/key clean up
*/
package org.sblim.cimclient.internal.cimxml.sax.node;
@@ -72,6 +73,7 @@
this.iLocalPath = pSession.getDefLocalPath();
this.iQualiHandler = QualifiedNodeHandler.init(this.iQualiHandler);
this.iCIMClassPropAL = GenericExts.initClearArrayList(this.iCIMClassPropAL);
+ this.iKeyed = false;
this.iCIMMethodAL = GenericExts.initClearArrayList(this.iCIMMethodAL);
this.iName = getCIMName(pAttribs);
this.iSuperClass = pAttribs.getValue("SUPERCLASS"); // not mandatory
@@ -146,8 +148,7 @@
public CIMClass getCIMClass(CIMObjectPath pObjPath) {
return new CIMClass(pObjPath, this.iSuperClass, this.iQualiHandler.getQualis(),
this.iCIMClassPropAL.toArray(EMPTY_PA), this.iCIMMethodAL.toArray(EMPTY_MA),
- // FIXME: How about this isAssociation flag?
- false, false);
+ this.iQualiHandler.isAssociation(), this.iKeyed);
}
/**
|