// // Don`t edit this file. Use TerritoryZoneImpl instead. package com.bftcom.property.territory.territoryzone; import com.bftcom.fdt.applicationinterface.ApplicationInterface; import com.bftcom.fdt.applicationinterface.errormanager.ErrorManager; import com.bftcom.fdt.applicationinterface.persistance.BusinessObjectImpl; import com.bftcom.fdt.exception.BusinessLogicException; import com.bftcom.fdt.model.BusinessObjectClass; import com.bftcom.fdt.model.BusinessObjectModel; import com.bftcom.fdt.model.DenyException; import com.bftcom.fdt.model.VetoException; import com.bftcom.fdt.util.keys.BasicKey; import com.bftcom.fdt.util.keys.Key; import com.bftcom.kotadapter.invocation.Pair; import com.bftcom.kotadapter.invocation.ServerSourceInfo; import com.bftcom.kotadapter.invocation.ServerSourceInfoBean; import com.bftcom.kotadapter.persistance.annotations.SimpleField; import com.bftcom.property.territory.TerritoryZone; import java.io.Serializable; import java.util.List; public class TerritoryZoneImplAutoGenerated extends com.bftcom.kotadapter.persistance.AnnotatedKOTBusinessObjectImpl implements TerritoryZoneBMAutoGenerated, Serializable { static { TerritoryZoneBOC.getInstance().registerModelDependency(TerritoryZoneBM.class, new TerritoryZoneDependencies.TerritoryZoneToPropertyCategoryDependency()); TerritoryZoneBOC.getInstance().registerModelDependency(TerritoryZoneBM.class, new TerritoryZoneDependencies.TerritoryZoneToCauseDependency()); } private static final long serialVersionUID = -1; public final long ENTITY_CLASS = 403; // @SimpleField(TerritoryZone.PROPERTYCATEGORY_ID) private Key propertyCategoryId; @SimpleField(TerritoryZone.CAUSE_ID) private Key causeId; @SimpleField(TerritoryZone.ZONE) private String zone; @SimpleField(TerritoryZone.NAME) private String name; @SimpleField(TerritoryZone.BASICRENT) private java.lang.Number basicRent; @SimpleField(TerritoryZone.RENTCHANGEDATE) private java.util.Date rentChangeDate; @SimpleField(TerritoryZone.COMMENT) private String comment; // // @Override public Key getPropertyCategoryId() throws DenyException { return (Key) getProperty(PROPERTYCATEGORYID.getPropertyName()); } @Override public void setPropertyCategoryId(Key newPropertyCategoryId) throws DenyException, VetoException { setProperty(PROPERTYCATEGORYID.getPropertyName(), newPropertyCategoryId); } @Override public com.bftcom.property.propertyregister.propertycategory.PropertyCategoryBM getPropertyCategory() throws DenyException { if (getPropertyCategoryId() == null) { return null; } try { return (com.bftcom.property.propertyregister.propertycategory.PropertyCategoryBM) ApplicationInterface.getInstance(). getObjectById(com.bftcom.property.propertyregister.propertycategory.PropertyCategoryBM.class, getPropertyCategoryId()); } catch (BusinessLogicException ex) { throw ErrorManager.getInstance().onBusinessLogicException(ex, null); } } @Override public Key getCauseId() throws DenyException { return (Key) getProperty(CAUSEID.getPropertyName()); } @Override public void setCauseId(Key newCauseId) throws DenyException, VetoException { setProperty(CAUSEID.getPropertyName(), newCauseId); } @Override public com.bftcom.property.propertyregister.cause.CauseBM getCause() throws DenyException { if (getCauseId() == null) { return null; } try { return (com.bftcom.property.propertyregister.cause.CauseBM) ApplicationInterface.getInstance(). getObjectById(com.bftcom.property.propertyregister.cause.CauseBM.class, getCauseId()); } catch (BusinessLogicException ex) { throw ErrorManager.getInstance().onBusinessLogicException(ex, null); } } @Override public String getZone() throws DenyException { return (String) getProperty(ZONE.getPropertyName()); } @Override public void setZone(String newZone) throws DenyException, VetoException { setProperty(ZONE.getPropertyName(), newZone); } @Override public String getName() throws DenyException { return (String) getProperty(NAME.getPropertyName()); } @Override public void setName(String newName) throws DenyException, VetoException { setProperty(NAME.getPropertyName(), newName); } @Override public java.lang.Number getBasicRent() throws DenyException { return (java.lang.Number) getProperty(BASICRENT.getPropertyName()); } @Override public void setBasicRent(java.lang.Number newBasicRent) throws DenyException, VetoException { setProperty(BASICRENT.getPropertyName(), newBasicRent); } @Override public java.util.Date getRentChangeDate() throws DenyException { return (java.util.Date) getProperty(RENTCHANGEDATE.getPropertyName()); } @Override public void setRentChangeDate(java.util.Date newRentChangeDate) throws DenyException, VetoException { setProperty(RENTCHANGEDATE.getPropertyName(), newRentChangeDate); } @Override public String getComment() throws DenyException { return (String) getProperty(COMMENT.getPropertyName()); } @Override public void setComment(String newComment) throws DenyException, VetoException { setProperty(COMMENT.getPropertyName(), newComment); } // // // // @Override protected void addListeners() { } @Override protected void performInitialValidation() { } @Override protected void setPropertiesDefaultValues() { } @Override public BusinessObjectClass getBusinessObjectClass() { return TerritoryZoneBOC.getInstance(); } @Override public Class getBusinessModelClass() { return TerritoryZoneBM.class; } @Override public BusinessObjectImpl createInstance() { TerritoryZoneImpl impl = new TerritoryZoneImpl(); return impl; } @Override public Key getEntityClass() { return new BasicKey(ENTITY_CLASS); } @Override protected ServerSourceInfo createSourceInfo(List> verbs) { return new ServerSourceInfoBean(TerritoryZone.PROVIDER, TerritoryZone.PROCESSOR, verbs); } // } // ----- Classpath: --------------------------------------------- bootPath: C:\Soft\java\jdk6u4\jre\lib\resources.jar;C:\Soft\java\jdk6u4\jre\lib\rt.jar;C:\Soft\java\jdk6u4\jre\lib\sunrsasign.jar;C:\Soft\java\jdk6u4\jre\lib\jsse.jar;C:\Soft\java\jdk6u4\jre\lib\jce.jar;C:\Soft\java\jdk6u4\jre\lib\charsets.jar;C:\Soft\java\jdk6u4\jre\classes;C:\Soft\java\jdk6u4\jre\lib\ext\dnsns.jar;C:\Soft\java\jdk6u4\jre\lib\ext\localedata.jar;C:\Soft\java\jdk6u4\jre\lib\ext\sunjce_provider.jar;C:\Soft\java\jdk6u4\jre\lib\ext\sunmscapi.jar;C:\Soft\java\jdk6u4\jre\lib\ext\sunpkcs11.jar classPath: Y:\FDT\FDT_Client\dist\FDT_Client.jar;Y:\FDT\FDT_Client\dist\lib\commons-beanutils.jar;Y:\FDT\FDT_Client\dist\lib\commons-betwixt.jar;Y:\FDT\FDT_Client\dist\lib\commons-cli.jar;Y:\FDT\FDT_Client\dist\lib\commons-collections.jar;Y:\FDT\FDT_Client\dist\lib\commons-configuration.jar;Y:\FDT\FDT_Client\dist\lib\commons-digester.jar;Y:\FDT\FDT_Client\dist\lib\commons-lang.jar;Y:\FDT\FDT_Client\dist\lib\commons-logging.jar;Y:\FDT\FDT_Client\dist\lib\FDT_Common.jar;Y:\FDT\FDT_Client\dist\lib\jcalendar.jar;Y:\FDT\FDT_Client\dist\lib\MultipleGradientPaint.jar;Y:\FDT\FDT_Client\dist\lib\swing-worker.jar;Y:\FDT\FDT_Client\dist\lib\validation.jar;Y:\FDT\FDT_Common\dist\lib\commons-codec.jar;Y:\FDT\KOT_Adapter\dist\KOT_Adapter.jar;Y:\FDT\KOT_Adapter\dist\lib\activation.jar;Y:\FDT\KOT_Adapter\dist\lib\avalon-framework.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-beanutils.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-betwixt.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-cli.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-collections.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-configuration.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-digester.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-httpclient-2.0.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-lang.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-logging.jar;Y:\FDT\KOT_Adapter\dist\lib\commons-pool-1.2.jar;Y:\FDT\KOT_Adapter\dist\lib\concurrent.jar;Y:\FDT\KOT_Adapter\dist\lib\FDT_Client.jar;Y:\FDT\KOT_Adapter\dist\lib\FDT_Common.jar;Y:\FDT\KOT_Adapter\dist\lib\gdiff.jar;Y:\FDT\KOT_Adapter\dist\lib\jacob.jar;Y:\FDT\KOT_Adapter\dist\lib\jaybird-full-2.0.1.jar;Y:\FDT\KOT_Adapter\dist\lib\jcalendar.jar;Y:\FDT\KOT_Adapter\dist\lib\JSQLConnect.jar;Y:\FDT\KOT_Adapter\dist\lib\log4j-1.2.8.jar;Y:\FDT\KOT_Adapter\dist\lib\logkit.jar;Y:\FDT\KOT_Adapter\dist\lib\mail.jar;Y:\FDT\KOT_Adapter\dist\lib\MultipleGradientPaint.jar;Y:\FDT\KOT_Adapter\dist\lib\ojdbc14.jar;Y:\FDT\KOT_Adapter\dist\lib\openorb_orb-1.4.0.jar;Y:\FDT\KOT_Adapter\dist\lib\openorb_orb_omg-1.4.0.jar;Y:\FDT\KOT_Adapter\dist\lib\openorb_orb_tools-1.4.0.jar;Y:\FDT\KOT_Adapter\dist\lib\openorb_ssl-1.4.0.jar;Y:\FDT\KOT_Adapter\dist\lib\ostermillerutils.jar;Y:\FDT\KOT_Adapter\dist\lib\rainbow.jar;Y:\FDT\KOT_Adapter\dist\lib\serializer.jar;Y:\FDT\KOT_Adapter\dist\lib\swing-worker.jar;Y:\FDT\KOT_Adapter\dist\lib\tools-1.4.0.jar;Y:\FDT\KOT_Adapter\dist\lib\validation.jar;Y:\FDT\KOT_Adapter\dist\lib\xalan.jar;Y:\FDT\KOT_Adapter\dist\lib\xercesImpl.jar;Y:\FDT\KOT_Adapter\dist\lib\xml-apis.jar;Y:\FDT\KOT_Adapter\dist\lib\xmlsec-1.2.1.jar;Y:\Property\Property_Client\dist\Property_Client.jar;Y:\Property\Territory\Territory_Common\dist\Territory_Common.jar;Y:\Property\PropertyRegister_Client\dist\PropertyRegister_Client.jar sourcePath: Y:\Property\Territory\Territory_Client\src;Y:\Property\Territory\Territory_Client\build\generated\wsclient;Y:\Property\Territory\Territory_Client\build\generated\wsimport\client ----- Original exception --------------------------------------------- java.lang.NullPointerException at com.sun.tools.javac.comp.Flow.visitIdent(Flow.java:1228) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1683) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.tree.TreeScanner.visitSelect(TreeScanner.java:250) at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1655) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow.scanExpr(Flow.java:514) at com.sun.tools.javac.comp.Flow.visitApply(Flow.java:1129) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow.scanExpr(Flow.java:514) at com.sun.tools.javac.comp.Flow.visitVarDef(Flow.java:751) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:713) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:498) at com.sun.tools.javac.comp.Flow.scanDef(Flow.java:484) at com.sun.tools.javac.comp.Flow.visitClassDef(Flow.java:595) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:588) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:498) at com.sun.tools.javac.comp.Flow.scanDef(Flow.java:484) at com.sun.tools.javac.comp.Flow.visitClassDef(Flow.java:595) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:588) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:1298) at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1121) at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1082) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:437) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:417) at org.netbeans.api.java.source.JavaSource.moveToPhase(JavaSource.java:1309) at org.netbeans.api.java.source.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:280) at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:80) at org.netbeans.api.java.source.WorkingCopy.toPhase(WorkingCopy.java:122) at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$FindTask.run(JavaWhereUsedQueryPlugin.java:261) at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$FindTask.run(JavaWhereUsedQueryPlugin.java:244) at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:916) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:244) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:231) at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin.prepare(JavaWhereUsedQueryPlugin.java:187) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:380) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:202) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:765) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)