public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor rootDirStr = new PropertyDescriptor("rootDirStr", getBeanDescriptor().getBeanClass()); rootDirStr.setBound(true); rootDirStr.setPropertyEditorClass(JTextFieldEditor.class); rootDirStr.setDisplayName("<html><font color='green'>root dir:"); rootDirStr.setShortDescription("The directory root to search for change sets. "); PropertyDescriptor validateChangeSets = new PropertyDescriptor("validateChangeSets", getBeanDescriptor().getBeanClass()); validateChangeSets.setBound(true); validateChangeSets.setPropertyEditorClass(CheckboxEditor.class); validateChangeSets.setDisplayName("<html><font color='green'>validate:"); validateChangeSets.setShortDescription("Select if you want to validate change sets. "); PropertyDescriptor validators = new PropertyDescriptor("validators", getBeanDescriptor().getBeanClass()); validators.setBound(true); validators.setPropertyEditorClass(JTextFieldEditor.class); validators.setDisplayName("<html><font color='green'>validators:"); validators.setShortDescription("The validators used on the change sets. "); PropertyDescriptor rv[] = {rootDirStr, validateChangeSets, validators}; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
static { try { EventSetDescriptor propertyChange = new EventSetDescriptor( BEAN_CLASS, "propertyChange", PropertyChangeListener.class, "propertyChange"); propertyChange.setDisplayName(ResourceBundleLoader.getText("EVT_NAME_PROPERTY_CHANGE")); propertyChange.setShortDescription(ResourceBundleLoader.getText("EVT_DESC_PROPERTY_CHANGE")); eventSetDescriptors_ = new EventSetDescriptor[] {propertyChange}; PropertyDescriptor path = new PropertyDescriptor("path", BEAN_CLASS); path.setBound(true); path.setConstrained(false); path.setDisplayName(ResourceBundleLoader.getText("PROP_NAME_PATH")); path.setShortDescription(ResourceBundleLoader.getText("PROP_DESC_PATH")); PropertyDescriptor system = new PropertyDescriptor("system", BEAN_CLASS); system.setBound(true); system.setConstrained(false); system.setDisplayName(ResourceBundleLoader.getText("PROP_NAME_SYSTEM")); system.setShortDescription(ResourceBundleLoader.getText("PROP_DESC_SYSTEM")); propertyDescriptors_ = new PropertyDescriptor[] {path, system}; } catch (IntrospectionException e) { Trace.log(Trace.ERROR, "Unexpected IntrospectionException:", e); throw new InternalErrorException(InternalErrorException.UNEXPECTED_EXCEPTION); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor _toolTipText = new PropertyDescriptor("toolTipText", beanClass, "getToolTipText", "setToolTipText"); _toolTipText.setDisplayName("toolTipText"); _toolTipText.setShortDescription("toolTipText"); PropertyDescriptor _fillColor = new PropertyDescriptor("fillColor", beanClass, "getFillColor", "setFillColor"); _fillColor.setDisplayName("fillColor"); _fillColor.setShortDescription("fillColor"); _fillColor.setPropertyEditorClass(GeColorEditor.class); PropertyDescriptor _borderColor = new PropertyDescriptor("borderColor", beanClass, "getBorderColor", "setBorderColor"); _borderColor.setDisplayName("borderColor"); _borderColor.setShortDescription("borderColor"); _borderColor.setPropertyEditorClass(GeColorEditor.class); PropertyDescriptor _colorTone = new PropertyDescriptor("colorTone", beanClass, "getColorTone", "setColorTone"); _colorTone.setDisplayName("colorTone"); _colorTone.setShortDescription("colorTone"); _colorTone.setPropertyEditorClass(GeColorToneEditor.class); PropertyDescriptor _colorShift = new PropertyDescriptor("colorShift", beanClass, "getColorShift", "setColorShift"); _colorShift.setDisplayName("colorShift"); _colorShift.setShortDescription("colorShift"); _colorShift.setPropertyEditorClass(GeColorShiftEditor.class); PropertyDescriptor _colorBrightness = new PropertyDescriptor( "colorBrightness", beanClass, "getColorBrightness", "setColorBrightness"); _colorBrightness.setDisplayName("colorBrightness"); _colorBrightness.setShortDescription("colorBrightness"); _colorBrightness.setPropertyEditorClass(GeColorBrightnessEditor.class); PropertyDescriptor _colorIntensity = new PropertyDescriptor( "colorIntensity", beanClass, "getColorIntensity", "setColorIntensity"); _colorIntensity.setDisplayName("colorIntensity"); _colorIntensity.setShortDescription("colorIntensity"); _colorIntensity.setPropertyEditorClass(GeColorIntensityEditor.class); PropertyDescriptor _rotate = new PropertyDescriptor("rotate", beanClass, "getRotate", "setRotate"); _rotate.setDisplayName("rotate"); _rotate.setShortDescription("rotate"); PropertyDescriptor[] pds = new PropertyDescriptor[] { _toolTipText, _fillColor, _borderColor, _colorTone, _colorShift, _colorBrightness, _colorIntensity, _rotate }; return pds; } catch (IntrospectionException ex) { ex.printStackTrace(); return null; } }
private EnhancedPropertyDescriptor allDesc() { try { PropertyDescriptor desc = new PropertyDescriptor("UseAll", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, ALL_ID); desc.setShortDescription(ALL_DESC); return edesc; } catch (IntrospectionException ex) { return null; } }
private EnhancedPropertyDescriptor strictDesc() { try { PropertyDescriptor desc = new PropertyDescriptor("Strict", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, STRICT_ID); edesc.setCategory(SPECTRAL_CATEGORY); desc.setShortDescription(STRICT_DESC); return edesc; } catch (IntrospectionException ex) { return null; } }
private EnhancedPropertyDescriptor lengthDesc() { try { PropertyDescriptor desc = new PropertyDescriptor("Length", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, LENGTH_ID); edesc.setCategory(SPECTRAL_CATEGORY); desc.setShortDescription(LENGTH_DESC); return edesc; } catch (IntrospectionException ex) { return null; } }
private EnhancedPropertyDescriptor enabledDesc() { try { PropertyDescriptor desc = new PropertyDescriptor("enabled", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, ENABLED_ID); edesc.setCategory(APPEARANCE_CATEGORY); desc.setShortDescription(ENABLED_DESC); return edesc; } catch (IntrospectionException ex) { return null; } }
private EnhancedPropertyDescriptor badDesc() { try { PropertyDescriptor desc = new PropertyDescriptor("Bad", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, BAD_ID); desc.setShortDescription(BAD_DESC); edesc.setCategory(THRESHOLDS_CATEGORY); return edesc; } catch (IntrospectionException ex) { return null; } }
private EnhancedPropertyDescriptor enabledDesc() { try { PropertyDescriptor desc = new PropertyDescriptor("enabled", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, ENABLED_ID); edesc.setRefreshMode(EnhancedPropertyDescriptor.Refresh.All); desc.setShortDescription(ENABLED_DESC); return edesc; } catch (IntrospectionException ex) { return null; } }
/** Constructor. */ @SuppressWarnings("unchecked") public PropertyMd(PropertyDescriptor prop) throws InvalidEntityBeanPropertyException { prop.setDisplayName(nameToTitle(prop.getName())); prop.setShortDescription(""); this.entityClass = prop.getReadMethod().getDeclaringClass(); this.propertyDescriptor = prop; Field f = getField(); isManualInputAllowed = true; if (f != null) { // check if it has a @NoManualInput annotation NoManualInput noManualInputA = f.getAnnotation(NoManualInput.class); if (noManualInputA != null) { isManualInputAllowed = false; createDefaultValue = noManualInputA.createDefaultValue(); defaultValueClass = propertyDescriptor.getPropertyType(); } CreateDefaultValue defValueA = f.getAnnotation(CreateDefaultValue.class); if (!createDefaultValue && (defValueA != null)) { createDefaultValue = true; defaultValueClass = defValueA.clazz(); if (Object.class.equals(defaultValueClass)) { defaultValueClass = propertyDescriptor.getPropertyType(); } } // check if it has a @Label annotation Label labelA = f.getAnnotation(Label.class); if (labelA != null) { prop.setDisplayName(labelA.name()); prop.setShortDescription(labelA.description()); } // check if it has a @ImmutableReference annotation ImmutableReference immutableRefA = f.getAnnotation(ImmutableReference.class); if (immutableRefA != null) { isImmutableReference = true; } } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor listName = new PropertyDescriptor("listName", TakeFirstItemInAttachmentList.class); listName.setBound(true); listName.setPropertyEditorClass(PropertyNameLabelEditor.class); listName.setDisplayName("<html><font color='green'>Name of temporary list:"); listName.setShortDescription("Name of the temporary list."); PropertyDescriptor conceptKey = new PropertyDescriptor("conceptKey", TakeFirstItemInAttachmentList.class); conceptKey.setBound(true); conceptKey.setPropertyEditorClass(PropertyNameLabelEditor.class); conceptKey.setDisplayName("<html><font color='green'>Concept key:"); conceptKey.setShortDescription("Concept key."); PropertyDescriptor rv[] = {listName, conceptKey}; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor profilePropName = new PropertyDescriptor("profilePropName", getBeanDescriptor().getBeanClass()); profilePropName.setBound(true); profilePropName.setPropertyEditorClass(PropertyNameLabelEditor.class); profilePropName.setDisplayName("<html><font color='green'>profile property:"); profilePropName.setShortDescription("The property containing the profile to change."); PropertyDescriptor editPathEntry = new PropertyDescriptor("editPathEntry", getBeanDescriptor().getBeanClass()); editPathEntry.setBound(true); editPathEntry.setPropertyEditorClass(ConceptLabelPropEditor.class); editPathEntry.setDisplayName("<html><font color='green'>editing path:"); editPathEntry.setShortDescription("The property that contains the editing path."); PropertyDescriptor rv[] = {profilePropName, editPathEntry}; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
/** * Creates the descriptor. * * @param propertyName The programmatic name of the property. * @param getterName The name of the method used for reading the property value. * @param setterName The name of the method used for writing the property value. * @param displayNameKey The key to resource bundle for displayName * @param descriptionKey The key to resource bundle for the description */ private static PropertyDescriptor createDescriptor( String propertyName, String getterName, String setterName, String displayNameKey, String descriptionKey) throws IntrospectionException { PropertyDescriptor desc = new PropertyDescriptor(propertyName, RMIDataLoader.class, getterName, setterName); desc.setDisplayName(getString(displayNameKey)); desc.setShortDescription(getString(descriptionKey)); return desc; }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor queueType = new PropertyDescriptor("queueType", ToQueue.class); queueType.setBound(true); queueType.setPropertyEditorClass(ConceptLabelEditor.class); queueType.setDisplayName("Queue type:"); queueType.setShortDescription("The type of queue to place this process into."); PropertyDescriptor rv[] = {queueType}; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor _borderColor = new PropertyDescriptor("borderColor", beanClass, "getBorderColor", "setBorderColor"); _borderColor.setDisplayName("borderColor"); _borderColor.setShortDescription("borderColor"); _borderColor.setPropertyEditorClass(GeColorEditor.class); PropertyDescriptor _lineWidth = new PropertyDescriptor("lineWidth", beanClass, "getLineWidth", "setLineWidth"); _lineWidth.setDisplayName("lineWidth"); _lineWidth.setShortDescription("lineWidth"); PropertyDescriptor _rotate = new PropertyDescriptor("rotate", beanClass, "getRotate", "setRotate"); _rotate.setDisplayName("rotate"); _rotate.setShortDescription("rotate"); PropertyDescriptor[] pds = new PropertyDescriptor[] {_borderColor, _lineWidth, _rotate}; return pds; } catch (IntrospectionException ex) { ex.printStackTrace(); return null; } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor profilePropName = new PropertyDescriptor("profilePropName", getBeanDescriptor().getBeanClass()); profilePropName.setBound(true); profilePropName.setPropertyEditorClass(PropertyNameLabelEditor.class); profilePropName.setDisplayName("<html><font color='green'>profile prop:"); profilePropName.setShortDescription("The property that contains the working profile."); PropertyDescriptor rv[] = {profilePropName}; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor inputPropName = new PropertyDescriptor("inputPropName", getBeanDescriptor().getBeanClass()); inputPropName.setBound(true); inputPropName.setPropertyEditorClass(PropertyNameLabelEditor.class); inputPropName.setDisplayName("<html><font color='green'>input set property"); inputPropName.setShortDescription(""); PropertyDescriptor rv[] = {inputPropName}; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
@NbBundle.Messages({ "tsPeriodSelectorUI.typeDesc.name=Type", "tsPeriodSelectorUI.typeDesc.desc=Specify the way the time span is defined" }) private EnhancedPropertyDescriptor typeDesc() { try { PropertyDescriptor desc = new PropertyDescriptor("type", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, TYPE_ID); edesc.setRefreshMode(EnhancedPropertyDescriptor.Refresh.All); desc.setDisplayName(Bundle.tsPeriodSelectorUI_typeDesc_name()); desc.setShortDescription(Bundle.tsPeriodSelectorUI_typeDesc_desc()); edesc.setReadOnly(ro_); return edesc; } catch (IntrospectionException ex) { return null; } }
@NbBundle.Messages({ "tsPeriodSelectorUI.lastDesc.name=Last", "tsPeriodSelectorUI.lastDesc.desc=Number of periods considered at the end of the series" }) private EnhancedPropertyDescriptor lastDesc() { PeriodSelectorType type = core_.getType(); if (type != PeriodSelectorType.Excluding && type != PeriodSelectorType.Last) { return null; } try { PropertyDescriptor desc = new PropertyDescriptor("last", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, TYPE_ID); desc.setDisplayName(Bundle.tsPeriodSelectorUI_lastDesc_name()); desc.setShortDescription(Bundle.tsPeriodSelectorUI_lastDesc_desc()); edesc.setRefreshMode(EnhancedPropertyDescriptor.Refresh.All); edesc.setReadOnly(ro_); return edesc; } catch (IntrospectionException ex) { return null; } }
@NbBundle.Messages({ "tsPeriodSelectorUI.endDesc.name=End", "tsPeriodSelectorUI.endDesc.desc=End of the time span. Only complete periods will be taken into account" }) private EnhancedPropertyDescriptor endDesc() { PeriodSelectorType type = core_.getType(); if (type != PeriodSelectorType.Between && type != PeriodSelectorType.To) { return null; } try { PropertyDescriptor desc = new PropertyDescriptor("end", this.getClass()); EnhancedPropertyDescriptor edesc = new EnhancedPropertyDescriptor(desc, TYPE_ID); edesc.setRefreshMode(EnhancedPropertyDescriptor.Refresh.All); desc.setDisplayName(Bundle.tsPeriodSelectorUI_endDesc_name()); desc.setShortDescription(Bundle.tsPeriodSelectorUI_endDesc_desc()); edesc.setReadOnly(ro_); return edesc; } catch (IntrospectionException ex) { return null; } }
/* * see java.beans.FeatureDescriptor#FeatureDescriptor(FeatureDescriptor) */ public static void copyNonMethodProperties(PropertyDescriptor source, PropertyDescriptor target) throws IntrospectionException { target.setExpert(source.isExpert()); target.setHidden(source.isHidden()); target.setPreferred(source.isPreferred()); target.setName(source.getName()); target.setShortDescription(source.getShortDescription()); target.setDisplayName(source.getDisplayName()); // copy all attributes (emulating behavior of private FeatureDescriptor#addTable) Enumeration<String> keys = source.attributeNames(); while (keys.hasMoreElements()) { String key = keys.nextElement(); target.setValue(key, source.getValue(key)); } // see java.beans.PropertyDescriptor#PropertyDescriptor(PropertyDescriptor) target.setPropertyEditorClass(source.getPropertyEditorClass()); target.setBound(source.isBound()); target.setConstrained(source.isConstrained()); }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor _toolTipText = new PropertyDescriptor("toolTipText", beanClass, "getToolTipText", "setToolTipText"); _toolTipText.setDisplayName("toolTipText"); _toolTipText.setShortDescription("toolTipText"); PropertyDescriptor _fillColor = new PropertyDescriptor("fillColor", beanClass, "getFillColor", "setFillColor"); _fillColor.setDisplayName("fillColor"); _fillColor.setShortDescription("fillColor"); _fillColor.setPropertyEditorClass(GeColorEditor.class); PropertyDescriptor _borderColor = new PropertyDescriptor("borderColor", beanClass, "getBorderColor", "setBorderColor"); _borderColor.setDisplayName("borderColor"); _borderColor.setShortDescription("borderColor"); _borderColor.setPropertyEditorClass(GeColorEditor.class); PropertyDescriptor _colorTone = new PropertyDescriptor("colorTone", beanClass, "getColorTone", "setColorTone"); _colorTone.setDisplayName("colorTone"); _colorTone.setShortDescription("colorTone"); _colorTone.setPropertyEditorClass(GeColorToneEditor.class); PropertyDescriptor _colorShift = new PropertyDescriptor("colorShift", beanClass, "getColorShift", "setColorShift"); _colorShift.setDisplayName("colorShift"); _colorShift.setShortDescription("colorShift"); _colorShift.setPropertyEditorClass(GeColorShiftEditor.class); PropertyDescriptor _colorBrightness = new PropertyDescriptor( "colorBrightness", beanClass, "getColorBrightness", "setColorBrightness"); _colorBrightness.setDisplayName("colorBrightness"); _colorBrightness.setShortDescription("colorBrightness"); _colorBrightness.setPropertyEditorClass(GeColorBrightnessEditor.class); PropertyDescriptor _colorIntensity = new PropertyDescriptor( "colorIntensity", beanClass, "getColorIntensity", "setColorIntensity"); _colorIntensity.setDisplayName("colorIntensity"); _colorIntensity.setShortDescription("colorIntensity"); _colorIntensity.setPropertyEditorClass(GeColorIntensityEditor.class); PropertyDescriptor _rotate = new PropertyDescriptor("rotate", beanClass, "getRotate", "setRotate"); _rotate.setDisplayName("rotate"); _rotate.setShortDescription("rotate"); PropertyDescriptor _clickAction = new PropertyDescriptor("clickAction", beanClass, "getClickAction", "setClickAction"); _clickAction.setDisplayName("clickAction"); _clickAction.setShortDescription("clickAction"); _clickAction.setPropertyEditorClass(ClickActionEditor.class); PropertyDescriptor _command = new PropertyDescriptor("command", beanClass, "getCommand", "setCommand"); _command.setDisplayName("command"); _command.setShortDescription("command"); PropertyDescriptor _lowTone = new PropertyDescriptor("lowTone", beanClass, "getLowTone", "setLowTone"); _lowTone.setDisplayName("lowTone"); _lowTone.setShortDescription("lowTone"); _lowTone.setPropertyEditorClass(GeColorToneEditor.class); PropertyDescriptor _pwrAttribute = new PropertyDescriptor("pwrAttribute", beanClass, "getPwrAttribute", "setPwrAttribute"); _pwrAttribute.setDisplayName("pwrAttribute"); _pwrAttribute.setShortDescription("pwrAttribute"); PropertyDescriptor _pwrAttrColor = new PropertyDescriptor("pwrAttrColor", beanClass, "getPwrAttrColor", "setPwrAttrColor"); _pwrAttrColor.setDisplayName("pwrAttrColor"); _pwrAttrColor.setShortDescription("pwrAttColor"); PropertyDescriptor _pwrAttrText = new PropertyDescriptor("pwrAttrText", beanClass, "getPwrAttrText", "setPwrAttrText"); _pwrAttrText.setDisplayName("pwrAttrText"); _pwrAttrText.setShortDescription("pwrAttText"); PropertyDescriptor _textLow = new PropertyDescriptor("textLow", beanClass, "getTextLow", "setTextLow"); _textLow.setDisplayName("textLow"); _textLow.setShortDescription("textLow"); PropertyDescriptor _textHigh = new PropertyDescriptor("textHigh", beanClass, "getTextHigh", "setTextHigh"); _textHigh.setDisplayName("textHigh"); _textHigh.setShortDescription("textHigh"); PropertyDescriptor _access = new PropertyDescriptor("access", beanClass, "getAccess", "setAccess"); _access.setDisplayName("access"); _access.setShortDescription("access"); PropertyDescriptor _confirm = new PropertyDescriptor("confirm", beanClass, "getConfirm", "setConfirm"); _confirm.setDisplayName("confirm"); _confirm.setShortDescription("confirm"); PropertyDescriptor _confirmText = new PropertyDescriptor("confirmText", beanClass, "getConfirmText", "setConfirmText"); _confirmText.setDisplayName("confirmText"); _confirmText.setShortDescription("confirmText"); PropertyDescriptor _annot1 = new PropertyDescriptor("annot1", beanClass, "getAnnot1", "setAnnot1"); _annot1.setDisplayName("annot1"); _annot1.setShortDescription("annot1"); PropertyDescriptor _annot1Font = new PropertyDescriptor("annot1Font", beanClass, "getAnnot1Font", "setAnnot1Font"); _annot1Font.setDisplayName("annot1Font"); _annot1Font.setShortDescription("annot1Font"); PropertyDescriptor[] pds = new PropertyDescriptor[] { _toolTipText, _fillColor, _borderColor, _colorTone, _colorShift, _colorBrightness, _colorIntensity, _rotate, _clickAction, _command, _lowTone, _pwrAttribute, _pwrAttrColor, _pwrAttrText, _textLow, _textHigh, _access, _confirm, _confirmText, _annot1, _annot1Font }; return pds; } catch (IntrospectionException ex) { ex.printStackTrace(); return null; } }
public PropertyDescriptor[] getPropertyDescriptors() { try { String stringPackageName = new String("IntegrationObject"); PropertyDescriptor pdHPubMacroMessage = new PropertyDescriptor( "HPubMacroMessage", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubMacroMessage", "setHPubMacroMessage"); pdHPubMacroMessage.setShortDescription("HPubMacroMessage"); PropertyDescriptor pdHPubScreenState = new PropertyDescriptor( "HPubScreenState", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubScreenState", "setHPubScreenState"); pdHPubScreenState.setShortDescription("HPubScreenState"); PropertyDescriptor pdAvailList = new PropertyDescriptor( "availList", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailList", null); pdAvailList.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListCourt = new IndexedPropertyDescriptor( "availListCourt", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListCourt", null, "getAvailListCourt", null); pdAvailListCourt.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListDate = new IndexedPropertyDescriptor( "availListDate", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListDate", null, "getAvailListDate", null); pdAvailListDate.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListDateOfWeek = new IndexedPropertyDescriptor( "availListDateOfWeek", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListDateOfWeek", null, "getAvailListDateOfWeek", null); pdAvailListDateOfWeek.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListEighteen = new IndexedPropertyDescriptor( "availListEighteen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListEighteen", null, "getAvailListEighteen", null); pdAvailListEighteen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListEleven = new IndexedPropertyDescriptor( "availListEleven", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListEleven", null, "getAvailListEleven", null); pdAvailListEleven.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListFifteen = new IndexedPropertyDescriptor( "availListFifteen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListFifteen", null, "getAvailListFifteen", null); pdAvailListFifteen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListFourteen = new IndexedPropertyDescriptor( "availListFourteen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListFourteen", null, "getAvailListFourteen", null); pdAvailListFourteen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListNine = new IndexedPropertyDescriptor( "availListNine", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListNine", null, "getAvailListNine", null); pdAvailListNine.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListNineteen = new IndexedPropertyDescriptor( "availListNineteen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListNineteen", null, "getAvailListNineteen", null); pdAvailListNineteen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListSeventeen = new IndexedPropertyDescriptor( "availListSeventeen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListSeventeen", null, "getAvailListSeventeen", null); pdAvailListSeventeen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListSixteen = new IndexedPropertyDescriptor( "availListSixteen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListSixteen", null, "getAvailListSixteen", null); pdAvailListSixteen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListTen = new IndexedPropertyDescriptor( "availListTen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListTen", null, "getAvailListTen", null); pdAvailListTen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListThirteen = new IndexedPropertyDescriptor( "availListThirteen", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListThirteen", null, "getAvailListThirteen", null); pdAvailListThirteen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListTwelve = new IndexedPropertyDescriptor( "availListTwelve", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListTwelve", null, "getAvailListTwelve", null); pdAvailListTwelve.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListTwenty = new IndexedPropertyDescriptor( "availListTwenty", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListTwenty", null, "getAvailListTwenty", null); pdAvailListTwenty.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListTwentyOne = new IndexedPropertyDescriptor( "availListTwentyOne", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListTwentyOne", null, "getAvailListTwentyOne", null); pdAvailListTwentyOne.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdAvailListTwentyTwo = new IndexedPropertyDescriptor( "availListTwentyTwo", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getAvailListTwentyTwo", null, "getAvailListTwentyTwo", null); pdAvailListTwentyTwo.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdDateSelection = new PropertyDescriptor( "dateSelection", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getDateSelection", null); pdDateSelection.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdHPubBeanName = new PropertyDescriptor( "hPubBeanName", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubBeanName", null); pdHPubBeanName.setShortDescription( "The name of the current Integration Object, EJB Access Bean, or " + "Remote Integration Object."); PropertyDescriptor pdHPubBeanType = new PropertyDescriptor( "hPubBeanType", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubBeanType", null); pdHPubBeanType.setShortDescription( "A string representing the type of Host Publisher Integration Obj" + "ect, Remote Integration Object, or EJB Access Bean."); PropertyDescriptor pdHPubEndChainName = new PropertyDescriptor( "hPubEndChainName", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubEndChainName", "setHPubEndChainName"); pdHPubEndChainName.setShortDescription( "The name of the stop state label as defined in Host Access. Thi" + "s value is null for the last Integration Object in a chain or fo" + "r one that is not chained."); PropertyDescriptor pdHPubEndType = new PropertyDescriptor( "hPubEndType", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubEndType", "setHPubEndType"); pdHPubEndType.setShortDescription( "A value of 0 indicates that the session is returned to the pool " + "when this Bean completes; a value of 1 indicates that the sessio" + "n will remain open when this Bean completes andprocessing is com" + "plete and can be referenced for later use by another Bean via th" + "e End Chain Name."); PropertyDescriptor pdHPubErrorException = new PropertyDescriptor( "hPubErrorException", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubErrorException", null); pdHPubErrorException.setShortDescription( "An exception object that describes the error that occurred; vali" + "d only if getHPubErrorOccurred() is non-zero"); PropertyDescriptor pdHPubErrorMessage = new PropertyDescriptor( "hPubErrorMessage", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubErrorMessage", null); pdHPubErrorMessage.setShortDescription( "A string containing the Host Publisher code and message of the e" + "rror that occurred; valid only if getHPubErrorOccurred() is non-" + "zero"); PropertyDescriptor pdHPubErrorOccurred = new PropertyDescriptor( "hPubErrorOccurred", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubErrorOccurred", null); pdHPubErrorOccurred.setShortDescription("A non-zero value when an error has occurred."); PropertyDescriptor pdHPubLinkKey = new PropertyDescriptor( "hPubLinkKey", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubLinkKey", "setHPubLinkKey"); pdHPubLinkKey.setShortDescription( "The name of the key that represents the connection for the Integ" + "ration Object chain."); PropertyDescriptor pdHPubOutputParmSuffix = new PropertyDescriptor( "hPubOutputParmSuffix", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubOutputParmSuffix", null); pdHPubOutputParmSuffix.setShortDescription( "A suffix added to the name of all output properties"); PropertyDescriptor pdHPubStartChainName = new PropertyDescriptor( "hPubStartChainName", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubStartChainName", "setHPubStartChainName"); pdHPubStartChainName.setShortDescription( "The name of the start state label as defined in Host Access. Th" + "is value is null for the first Integration Object in a chain or " + "for one that is not chained."); PropertyDescriptor pdHPubStartPoolName = new PropertyDescriptor( "hPubStartPoolName", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubStartPoolName", "setHPubStartPoolName"); pdHPubStartPoolName.setShortDescription( "The name of the connection pool from which the Integration Objec" + "t will acquire the connection."); PropertyDescriptor pdHPubStartType = new PropertyDescriptor( "hPubStartType", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubStartType", "setHPubStartType"); pdHPubStartType.setShortDescription( "A value of 0 indicates that the session is retrieved using the P" + "ool Name; a value of 1 indicates that the session is started fro" + "m an existing Connection using the Start Chain Name."); PropertyDescriptor pdHPubXMLProperties = new PropertyDescriptor( "hPubXMLProperties", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubXMLProperties", null); pdHPubXMLProperties.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdHPubXMLPropertiesWithoutInvoking = new PropertyDescriptor( "hPubXMLPropertiesWithoutInvoking", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHPubXMLPropertiesWithoutInvoking", null); pdHPubXMLPropertiesWithoutInvoking.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdHomeCourt = new PropertyDescriptor( "homeCourt", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getHomeCourt", null); pdHomeCourt.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdInit = new PropertyDescriptor( "init", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getInit", null); pdInit.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdJudiciaryId = new PropertyDescriptor( "judiciaryId", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getJudiciaryId", null); pdJudiciaryId.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdJudiciaryType = new PropertyDescriptor( "judiciaryType", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getJudiciaryType", null); pdJudiciaryType.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdMore = new PropertyDescriptor( "more", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getMore", null); pdMore.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReturnMessage = new PropertyDescriptor( "returnMessage", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getReturnMessage", null); pdReturnMessage.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdSurname = new PropertyDescriptor( "surname", Class.forName(stringPackageName + "." + "JudiciaryAvailability_Access"), "getSurname", null); pdSurname.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor[] arrayOfPDs = { pdHPubMacroMessage, pdHPubScreenState, pdAvailList, pdAvailListCourt, pdAvailListDate, pdAvailListDateOfWeek, pdAvailListEighteen, pdAvailListEleven, pdAvailListFifteen, pdAvailListFourteen, pdAvailListNine, pdAvailListNineteen, pdAvailListSeventeen, pdAvailListSixteen, pdAvailListTen, pdAvailListThirteen, pdAvailListTwelve, pdAvailListTwenty, pdAvailListTwentyOne, pdAvailListTwentyTwo, pdDateSelection, pdHPubBeanName, pdHPubBeanType, pdHPubEndChainName, pdHPubEndType, pdHPubErrorException, pdHPubErrorMessage, pdHPubErrorOccurred, pdHPubLinkKey, pdHPubOutputParmSuffix, pdHPubStartChainName, pdHPubStartPoolName, pdHPubStartType, pdHPubXMLProperties, pdHPubXMLPropertiesWithoutInvoking, pdHomeCourt, pdInit, pdJudiciaryId, pdJudiciaryType, pdMore, pdReturnMessage, pdSurname }; return arrayOfPDs; } catch (Exception e) { System.out.println(e); return null; } }
public PropertyDescriptor[] getPropertyDescriptors() { try { // Generated Code String stringPackageName = new String("IntegrationObject"); String hPubHODVariablePropDesc = res.getString("hPubHODVariablePropDesc"); PropertyDescriptor pdMore = new PropertyDescriptor( "more", Class.forName(stringPackageName + "." + "RestitutionCompGetData"), "getMore", null); pdMore.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdHPubXMLProperties = new PropertyDescriptor( "hPubXMLProperties", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubXMLProperties", null); String hPubXMLPropDesc = res.getString("hPubXMLPropDesc"); pdHPubXMLProperties.setShortDescription(hPubXMLPropDesc); PropertyDescriptor pdHPubStartPoolName = new PropertyDescriptor( "hPubStartPoolName", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubStartPoolName", "setHPubStartPoolName"); String hPubStartPoolNamePropDesc = res.getString("hPubStartPoolNameDescPropDesc"); pdHPubStartPoolName.setShortDescription(hPubStartPoolNamePropDesc); PropertyDescriptor pdHPubConnectionOverrides = new PropertyDescriptor( "hPubConnectionOverrides", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubConnectionOverrides", "setHPubConnectionOverrides"); String hPubConnectionOverridesPropDesc = res.getString("hPubConnectionOverridesPropDesc"); pdHPubConnectionOverrides.setShortDescription(hPubConnectionOverridesPropDesc); PropertyDescriptor pdHPubStartChainName = new PropertyDescriptor( "hPubStartChainName", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubStartChainName", null); String hPubStartChainNamePropDesc = res.getString("hPubStartChainNamePropDesc"); pdHPubStartChainName.setShortDescription(hPubStartChainNamePropDesc); PropertyDescriptor pdHPubEndChainName = new PropertyDescriptor( "hPubEndChainName", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubEndChainName", null); String hPubEndChainNamePropDesc = res.getString("hPubEndChainNamePropDesc"); pdHPubEndChainName.setShortDescription(hPubEndChainNamePropDesc); PropertyDescriptor pdHPubStartType = new PropertyDescriptor( "hPubStartType", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubStartType", null); String hPubStartTypePropDesc = res.getString("hPubStartTypePropDesc"); pdHPubStartType.setShortDescription(hPubStartTypePropDesc); PropertyDescriptor pdHPubEndType = new PropertyDescriptor( "hPubEndType", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubEndType", null); String hPubEndTypePropDesc = res.getString("hPubEndTypePropDesc"); pdHPubEndType.setShortDescription(hPubEndTypePropDesc); PropertyDescriptor pdHPubErrorException = new PropertyDescriptor( "hPubErrorException", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubErrorException", null); String hPubExceptionPropDesc = res.getString("hPubExceptionPropDesc"); pdHPubErrorException.setShortDescription(hPubExceptionPropDesc); PropertyDescriptor pdHPubLinkKey = new PropertyDescriptor( "hPubLinkKey", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubLinkKey", "setHPubLinkKey"); String hPubLinkKeyPropDesc = res.getString("hPubLinkKeyPropDesc"); pdHPubLinkKey.setShortDescription(hPubLinkKeyPropDesc); PropertyDescriptor[] arrayOfPDs = { pdMore, pdHPubXMLProperties, pdHPubStartPoolName, pdHPubConnectionOverrides, pdHPubStartChainName, pdHPubEndChainName, pdHPubStartType, pdHPubEndType, pdHPubErrorException, pdHPubLinkKey }; return arrayOfPDs; } catch (Exception e) { System.out.println(e); return null; } }
public PropertyDescriptor[] getPropertyDescriptors() { try { String stringPackageName = new String("IntegrationObject"); PropertyDescriptor pdHPubMacroMessage = new PropertyDescriptor( "HPubMacroMessage", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubMacroMessage", "setHPubMacroMessage"); pdHPubMacroMessage.setShortDescription("HPubMacroMessage"); PropertyDescriptor pdHPubScreenState = new PropertyDescriptor( "HPubScreenState", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubScreenState", "setHPubScreenState"); pdHPubScreenState.setShortDescription("HPubScreenState"); PropertyDescriptor pdAccountMaj = new PropertyDescriptor( "accountMaj", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getAccountMaj", null); pdAccountMaj.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdAccountMin = new PropertyDescriptor( "accountMin", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getAccountMin", null); pdAccountMin.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdAmountTendered = new PropertyDescriptor( "amountTendered", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getAmountTendered", null); pdAmountTendered.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdBank = new PropertyDescriptor( "bank", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getBank", null); pdBank.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdChangeAmount = new PropertyDescriptor( "changeAmount", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getChangeAmount", null); pdChangeAmount.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdCourt = new PropertyDescriptor( "court", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getCourt", null); pdCourt.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdCurncy = new PropertyDescriptor( "curncy", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getCurncy", null); pdCurncy.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdDateDay = new PropertyDescriptor( "dateDay", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getDateDay", null); pdDateDay.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdDateMonth = new PropertyDescriptor( "dateMonth", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getDateMonth", null); pdDateMonth.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdDateYear = new PropertyDescriptor( "dateYear", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getDateYear", null); pdDateYear.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdDescription = new PropertyDescriptor( "description", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getDescription", null); pdDescription.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdEnteredAmount = new PropertyDescriptor( "enteredAmount", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getEnteredAmount", null); pdEnteredAmount.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdFunds = new PropertyDescriptor( "funds", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getFunds", null); pdFunds.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdHPubBeanName = new PropertyDescriptor( "hPubBeanName", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubBeanName", null); pdHPubBeanName.setShortDescription( "The name of the current Integration Object, EJB Access Bean, or " + "Remote Integration Object."); PropertyDescriptor pdHPubBeanType = new PropertyDescriptor( "hPubBeanType", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubBeanType", null); pdHPubBeanType.setShortDescription( "A string representing the type of Host Publisher Integration Obj" + "ect, Remote Integration Object, or EJB Access Bean."); PropertyDescriptor pdHPubEndChainName = new PropertyDescriptor( "hPubEndChainName", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubEndChainName", "setHPubEndChainName"); pdHPubEndChainName.setShortDescription( "The name of the stop state label as defined in Host Access. Thi" + "s value is null for the last Integration Object in a chain or fo" + "r one that is not chained."); PropertyDescriptor pdHPubEndType = new PropertyDescriptor( "hPubEndType", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubEndType", "setHPubEndType"); pdHPubEndType.setShortDescription( "A value of 0 indicates that the session is returned to the pool " + "when this Bean completes; a value of 1 indicates that the sessio" + "n will remain open when this Bean completes andprocessing is com" + "plete and can be referenced for later use by another Bean via th" + "e End Chain Name."); PropertyDescriptor pdHPubErrorException = new PropertyDescriptor( "hPubErrorException", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubErrorException", null); pdHPubErrorException.setShortDescription( "An exception object that describes the error that occurred; vali" + "d only if getHPubErrorOccurred() is non-zero"); PropertyDescriptor pdHPubErrorMessage = new PropertyDescriptor( "hPubErrorMessage", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubErrorMessage", null); pdHPubErrorMessage.setShortDescription( "A string containing the Host Publisher code and message of the e" + "rror that occurred; valid only if getHPubErrorOccurred() is non-" + "zero"); PropertyDescriptor pdHPubErrorOccurred = new PropertyDescriptor( "hPubErrorOccurred", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubErrorOccurred", null); pdHPubErrorOccurred.setShortDescription("A non-zero value when an error has occurred."); PropertyDescriptor pdHPubLinkKey = new PropertyDescriptor( "hPubLinkKey", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubLinkKey", "setHPubLinkKey"); pdHPubLinkKey.setShortDescription( "The name of the key that represents the connection for the Integ" + "ration Object chain."); PropertyDescriptor pdHPubOutputParmSuffix = new PropertyDescriptor( "hPubOutputParmSuffix", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubOutputParmSuffix", null); pdHPubOutputParmSuffix.setShortDescription( "A suffix added to the name of all output properties"); PropertyDescriptor pdHPubStartChainName = new PropertyDescriptor( "hPubStartChainName", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubStartChainName", "setHPubStartChainName"); pdHPubStartChainName.setShortDescription( "The name of the start state label as defined in Host Access. Th" + "is value is null for the first Integration Object in a chain or " + "for one that is not chained."); PropertyDescriptor pdHPubStartPoolName = new PropertyDescriptor( "hPubStartPoolName", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubStartPoolName", "setHPubStartPoolName"); pdHPubStartPoolName.setShortDescription( "The name of the connection pool from which the Integration Objec" + "t will acquire the connection."); PropertyDescriptor pdHPubStartType = new PropertyDescriptor( "hPubStartType", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubStartType", "setHPubStartType"); pdHPubStartType.setShortDescription( "A value of 0 indicates that the session is retrieved using the P" + "ool Name; a value of 1 indicates that the session is started fro" + "m an existing Connection using the Start Chain Name."); PropertyDescriptor pdHPubXMLProperties = new PropertyDescriptor( "hPubXMLProperties", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubXMLProperties", null); pdHPubXMLProperties.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdHPubXMLPropertiesWithoutInvoking = new PropertyDescriptor( "hPubXMLPropertiesWithoutInvoking", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getHPubXMLPropertiesWithoutInvoking", null); pdHPubXMLPropertiesWithoutInvoking.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdOffender = new PropertyDescriptor( "offender", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getOffender", null); pdOffender.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdOverpayment = new PropertyDescriptor( "overpayment", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getOverpayment", null); pdOverpayment.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01AccountMaj = new PropertyDescriptor( "rec01AccountMaj", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01AccountMaj", null); pdRec01AccountMaj.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01AccountMin = new PropertyDescriptor( "rec01AccountMin", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01AccountMin", null); pdRec01AccountMin.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01Amount = new PropertyDescriptor( "rec01Amount", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01Amount", null); pdRec01Amount.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01CaseRef01 = new PropertyDescriptor( "rec01CaseRef01", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01CaseRef01", null); pdRec01CaseRef01.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01CaseRef02 = new PropertyDescriptor( "rec01CaseRef02", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01CaseRef02", null); pdRec01CaseRef02.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01CaseRef03 = new PropertyDescriptor( "rec01CaseRef03", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01CaseRef03", null); pdRec01CaseRef03.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01Count = new PropertyDescriptor( "rec01Count", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01Count", null); pdRec01Count.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdRec01Description = new PropertyDescriptor( "rec01Description", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getRec01Description", null); pdRec01Description.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReturnMessage = new PropertyDescriptor( "returnMessage", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getReturnMessage", null); pdReturnMessage.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReverseTransaction = new PropertyDescriptor( "reverseTransaction", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getReverseTransaction", null); pdReverseTransaction.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdScreen = new PropertyDescriptor( "screen", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getScreen", null); pdScreen.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdUnidentified = new PropertyDescriptor( "unidentified", Class.forName(stringPackageName + "." + "MiscCashReceiptsReversal_Access"), "getUnidentified", null); pdUnidentified.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor[] arrayOfPDs = { pdHPubMacroMessage, pdHPubScreenState, pdAccountMaj, pdAccountMin, pdAmountTendered, pdBank, pdChangeAmount, pdCourt, pdCurncy, pdDateDay, pdDateMonth, pdDateYear, pdDescription, pdEnteredAmount, pdFunds, pdHPubBeanName, pdHPubBeanType, pdHPubEndChainName, pdHPubEndType, pdHPubErrorException, pdHPubErrorMessage, pdHPubErrorOccurred, pdHPubLinkKey, pdHPubOutputParmSuffix, pdHPubStartChainName, pdHPubStartPoolName, pdHPubStartType, pdHPubXMLProperties, pdHPubXMLPropertiesWithoutInvoking, pdOffender, pdOverpayment, pdRec01AccountMaj, pdRec01AccountMin, pdRec01Amount, pdRec01CaseRef01, pdRec01CaseRef02, pdRec01CaseRef03, pdRec01Count, pdRec01Description, pdReturnMessage, pdReverseTransaction, pdScreen, pdUnidentified }; return arrayOfPDs; } catch (Exception e) { System.out.println(e); return null; } }
public PropertyDescriptor[] getPropertyDescriptors() { try { String stringPackageName = new String("IntegrationObject"); PropertyDescriptor pdHPubMacroMessage = new PropertyDescriptor( "HPubMacroMessage", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubMacroMessage", "setHPubMacroMessage"); pdHPubMacroMessage.setShortDescription("HPubMacroMessage"); PropertyDescriptor pdHPubEndChainName = new PropertyDescriptor( "hPubEndChainName", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubEndChainName", "setHPubEndChainName"); pdHPubEndChainName.setShortDescription( "The name of the stop state label as defined in Host Access. Thi" + "s value is null for the last Integration Object in a chain or fo" + "r one that is not chained."); PropertyDescriptor pdHPubErrorOccurred = new PropertyDescriptor( "hPubErrorOccurred", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubErrorOccurred", null); pdHPubErrorOccurred.setShortDescription("A non-zero value when an error has occurred."); PropertyDescriptor pdHPubScreenState = new PropertyDescriptor( "HPubScreenState", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubScreenState", "setHPubScreenState"); pdHPubScreenState.setShortDescription("HPubScreenState"); PropertyDescriptor pdHPubErrorMessage = new PropertyDescriptor( "hPubErrorMessage", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubErrorMessage", null); pdHPubErrorMessage.setShortDescription( "A string containing the Host Publisher code and message of the e" + "rror that occurred; valid only if getHPubErrorOccurred() is non-" + "zero"); PropertyDescriptor pdHPubXMLProperties = new PropertyDescriptor( "hPubXMLProperties", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubXMLProperties", null); pdHPubXMLProperties.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdHPubOutputParmSuffix = new PropertyDescriptor( "hPubOutputParmSuffix", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubOutputParmSuffix", null); pdHPubOutputParmSuffix.setShortDescription( "A suffix added to the name of all output properties"); PropertyDescriptor pdHPubStartChainName = new PropertyDescriptor( "hPubStartChainName", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubStartChainName", "setHPubStartChainName"); pdHPubStartChainName.setShortDescription( "The name of the start state label as defined in Host Access. Th" + "is value is null for the first Integration Object in a chain or " + "for one that is not chained."); PropertyDescriptor pdHPubXMLPropertiesWithoutInvoking = new PropertyDescriptor( "hPubXMLPropertiesWithoutInvoking", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubXMLPropertiesWithoutInvoking", null); pdHPubXMLPropertiesWithoutInvoking.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdHPubConnectionOverrides = new PropertyDescriptor( "hPubConnectionOverrides", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubConnectionOverrides", "setHPubConnectionOverrides"); pdHPubConnectionOverrides.setShortDescription( "A string containing the connection overrides in the format key1=" + "value1, key2=value2."); PropertyDescriptor pdHPubStartType = new PropertyDescriptor( "hPubStartType", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubStartType", "setHPubStartType"); pdHPubStartType.setShortDescription( "A value of 0 indicates that the session is retrieved using the P" + "ool Name; a value of 1 indicates that the session is started fro" + "m an existing Connection using the Start Chain Name."); PropertyDescriptor pdHPubLinkKey = new PropertyDescriptor( "hPubLinkKey", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubLinkKey", "setHPubLinkKey"); pdHPubLinkKey.setShortDescription( "The name of the key that represents the connection for the Integ" + "ration Object chain."); PropertyDescriptor pdHPubStartPoolName = new PropertyDescriptor( "hPubStartPoolName", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubStartPoolName", "setHPubStartPoolName"); pdHPubStartPoolName.setShortDescription( "The name of the connection pool from which the Integration Objec" + "t will acquire the connection."); PropertyDescriptor pdHPubBeanType = new PropertyDescriptor( "hPubBeanType", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubBeanType", null); pdHPubBeanType.setShortDescription( "A string representing the type of Host Publisher Integration Obj" + "ect, Remote Integration Object, or EJB Access Bean."); PropertyDescriptor pdHPubEndType = new PropertyDescriptor( "hPubEndType", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubEndType", "setHPubEndType"); pdHPubEndType.setShortDescription( "A value of 0 indicates that the session is returned to the pool " + "when this Bean completes; a value of 1 indicates that the sessio" + "n will remain open when this Bean completes andprocessing is com" + "plete and can be referenced for later use by another Bean via th" + "e End Chain Name."); PropertyDescriptor pdHPubErrorException = new PropertyDescriptor( "hPubErrorException", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubErrorException", null); pdHPubErrorException.setShortDescription( "An exception object that describes the error that occurred; vali" + "d only if getHPubErrorOccurred() is non-zero"); PropertyDescriptor pdHPubBeanName = new PropertyDescriptor( "hPubBeanName", Class.forName(stringPackageName + "." + "CountCourtDateDelete_Access"), "getHPubBeanName", null); pdHPubBeanName.setShortDescription( "The name of the current Integration Object, EJB Access Bean, or " + "Remote Integration Object."); PropertyDescriptor[] arrayOfPDs = { pdHPubMacroMessage, pdHPubEndChainName, pdHPubErrorOccurred, pdHPubScreenState, pdHPubErrorMessage, pdHPubXMLProperties, pdHPubOutputParmSuffix, pdHPubStartChainName, pdHPubXMLPropertiesWithoutInvoking, pdHPubConnectionOverrides, pdHPubStartType, pdHPubLinkKey, pdHPubStartPoolName, pdHPubBeanType, pdHPubEndType, pdHPubErrorException, pdHPubBeanName }; return arrayOfPDs; } catch (Exception e) { System.out.println(e); return null; } }
static { try { EventSetDescriptor changed = new EventSetDescriptor( beanClass, "propertyChange", java.beans.PropertyChangeListener.class, "propertyChange"); changed.setDisplayName(loader_.getText("EVT_NAME_PROPERTY_CHANGE")); changed.setShortDescription(loader_.getText("EVT_DESC_PROPERTY_CHANGE")); EventSetDescriptor veto = new EventSetDescriptor( beanClass, "propertyChange", java.beans.VetoableChangeListener.class, "vetoableChange"); veto.setDisplayName(loader_.getText("EVT_NAME_PROPERTY_VETO")); veto.setShortDescription(loader_.getText("EVT_DESC_PROPERTY_VETO")); EventSetDescriptor[] events = {changed, veto}; events_ = events; // ***** PROPERTIES PropertyDescriptor alignment = new PropertyDescriptor("alignment", beanClass, "getAlignment", "setAlignment"); alignment.setBound(true); alignment.setConstrained(true); alignment.setDisplayName(loader_.getText("PROP_NAME_ALIGNMENT")); alignment.setShortDescription(loader_.getText("PROP_HTBL_DESC_ALIGNMENT")); PropertyDescriptor borderWidth = new PropertyDescriptor("borderWidth", beanClass, "getBorderWidth", "setBorderWidth"); borderWidth.setBound(true); borderWidth.setConstrained(true); borderWidth.setDisplayName(loader_.getText("PROP_NAME_BORDERWIDTH")); borderWidth.setShortDescription(loader_.getText("PROP_DESC_BORDERWIDTH")); // PropertyDescriptor caption = new PropertyDescriptor("caption", beanClass, // "getCaption", "setCaption"); Class[] parameterList = {HTMLTableCaption.class}; PropertyDescriptor caption = new PropertyDescriptor( "caption", beanClass.getMethod("getCaption", (java.lang.Class[]) null), beanClass.getMethod("setCaption", parameterList)); // @pdc cast for jdk1.5 caption.setBound(true); caption.setConstrained(true); caption.setDisplayName(loader_.getText("PROP_NAME_CAPTION")); caption.setShortDescription(loader_.getText("PROP_DESC_CAPTION")); PropertyDescriptor cellPadding = new PropertyDescriptor("cellPadding", beanClass, "getCellPadding", "setCellPadding"); cellPadding.setBound(true); cellPadding.setConstrained(true); cellPadding.setDisplayName(loader_.getText("PROP_NAME_CELLPADDING")); cellPadding.setShortDescription(loader_.getText("PROP_DESC_CELLPADDING")); PropertyDescriptor cellSpacing = new PropertyDescriptor("cellSpacing", beanClass, "getCellSpacing", "setCellSpacing"); cellSpacing.setBound(true); cellSpacing.setConstrained(true); cellSpacing.setDisplayName(loader_.getText("PROP_NAME_CELLSPACING")); cellSpacing.setShortDescription(loader_.getText("PROP_DESC_CELLSPACING")); PropertyDescriptor header = new PropertyDescriptor("header", beanClass, "getHeader", "setHeader"); header.setBound(true); header.setConstrained(true); header.setDisplayName(loader_.getText("PROP_NAME_HEADER")); header.setShortDescription(loader_.getText("PROP_DESC_HEADER")); PropertyDescriptor useHeader = new PropertyDescriptor("headerInUse", beanClass, "isHeaderInUse", "setHeaderInUse"); useHeader.setBound(true); useHeader.setConstrained(true); useHeader.setDisplayName(loader_.getText("PROP_NAME_HEADERINUSE")); useHeader.setShortDescription(loader_.getText("PROP_DESC_HEADERINUSE")); PropertyDescriptor width = new PropertyDescriptor("width", beanClass, "getWidth", "setWidth"); width.setBound(true); width.setConstrained(true); width.setDisplayName(loader_.getText("PROP_NAME_WIDTH")); width.setShortDescription(loader_.getText("PROP_HTBL_DESC_WIDTH")); PropertyDescriptor widthInPercent = new PropertyDescriptor( "widthInPercent", beanClass, "isWidthInPercent", "setWidthInPercent"); widthInPercent.setBound(true); widthInPercent.setConstrained(true); widthInPercent.setDisplayName(loader_.getText("PROP_NAME_WPERCENT")); widthInPercent.setShortDescription(loader_.getText("PROP_HTBL_DESC_WPERCENT")); PropertyDescriptor lang = new PropertyDescriptor("lang", beanClass, "getLanguage", "setLanguage"); // $B1A lang.setBound(true); // $B1A lang.setConstrained(true); // $B1A lang.setDisplayName(loader_.getText("PROP_NAME_LANGUAGE")); // $B1A lang.setShortDescription(loader_.getText("PROP_DESC_LANGUAGE")); // $B1A PropertyDescriptor dir = new PropertyDescriptor("dir", beanClass, "getDirection", "setDirection"); // $B1A dir.setBound(true); // $B1A dir.setConstrained(true); // $B1A dir.setDisplayName(loader_.getText("PROP_NAME_DIRECTION")); // $B1A dir.setShortDescription(loader_.getText("PROP_DESC_DIRECTION")); // $B1A PropertyDescriptor useFO = new PropertyDescriptor("useFO", beanClass, "isUseFO", "setUseFO"); // @C1A useFO.setBound(true); // @C1A useFO.setConstrained(false); // @C1A useFO.setDisplayName(loader_.getText("PROP_NAME_FORMATTING_OBJECT")); // @C1A useFO.setShortDescription(loader_.getText("PROP_DESC_FORMATTING_OBJECT")); // @C1A properties_ = new PropertyDescriptor[] { alignment, borderWidth, caption, cellPadding, cellSpacing, header, useHeader, width, widthInPercent, lang, dir, useFO }; // $B1C //@C1A } catch (Exception e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { // Generated Code String stringPackageName = new String("IntegrationObject"); String hPubHODVariablePropDesc = res.getString("hPubHODVariablePropDesc"); PropertyDescriptor pdCrt = new PropertyDescriptor( "crt", Class.forName(stringPackageName + "." + "GLAccountList"), "getCrt", "setCrt"); pdCrt.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdJur = new PropertyDescriptor( "jur", Class.forName(stringPackageName + "." + "GLAccountList"), "getJur", "setJur"); pdJur.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdYr = new PropertyDescriptor( "yr", Class.forName(stringPackageName + "." + "GLAccountList"), "getYr", "setYr"); pdYr.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdInf = new PropertyDescriptor( "inf", Class.forName(stringPackageName + "." + "GLAccountList"), "getInf", "setInf"); pdInf.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdSuffix = new PropertyDescriptor( "suffix", Class.forName(stringPackageName + "." + "GLAccountList"), "getSuffix", "setSuffix"); pdSuffix.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdMaj = new PropertyDescriptor( "maj", Class.forName(stringPackageName + "." + "GLAccountList"), "getMaj", "setMaj"); pdMaj.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdOther = new PropertyDescriptor( "other", Class.forName(stringPackageName + "." + "GLAccountList"), "getOther", "setOther"); pdOther.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdReturnMessage = new PropertyDescriptor( "returnMessage", Class.forName(stringPackageName + "." + "GLAccountList"), "getReturnMessage", null); pdReturnMessage.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdCourtOffice = new PropertyDescriptor( "courtOffice", Class.forName(stringPackageName + "." + "GLAccountList"), "getCourtOffice", "setCourtOffice"); pdCourtOffice.setShortDescription(hPubHODVariablePropDesc); PropertyDescriptor pdHPubXMLProperties = new PropertyDescriptor( "hPubXMLProperties", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubXMLProperties", null); String hPubXMLPropDesc = res.getString("hPubXMLPropDesc"); pdHPubXMLProperties.setShortDescription(hPubXMLPropDesc); PropertyDescriptor pdHPubStartPoolName = new PropertyDescriptor( "hPubStartPoolName", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubStartPoolName", "setHPubStartPoolName"); String hPubStartPoolNamePropDesc = res.getString("hPubStartPoolNameDescPropDesc"); pdHPubStartPoolName.setShortDescription(hPubStartPoolNamePropDesc); PropertyDescriptor pdHPubStartChainName = new PropertyDescriptor( "hPubStartChainName", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubStartChainName", null); String hPubStartChainNamePropDesc = res.getString("hPubStartChainNamePropDesc"); pdHPubStartChainName.setShortDescription(hPubStartChainNamePropDesc); PropertyDescriptor pdHPubEndChainName = new PropertyDescriptor( "hPubEndChainName", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubEndChainName", null); String hPubEndChainNamePropDesc = res.getString("hPubEndChainNamePropDesc"); pdHPubEndChainName.setShortDescription(hPubEndChainNamePropDesc); PropertyDescriptor pdHPubStartType = new PropertyDescriptor( "hPubStartType", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubStartType", null); String hPubStartTypePropDesc = res.getString("hPubStartTypePropDesc"); pdHPubStartType.setShortDescription(hPubStartTypePropDesc); PropertyDescriptor pdHPubEndType = new PropertyDescriptor( "hPubEndType", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubEndType", null); String hPubEndTypePropDesc = res.getString("hPubEndTypePropDesc"); pdHPubEndType.setShortDescription(hPubEndTypePropDesc); PropertyDescriptor pdHPubErrorException = new PropertyDescriptor( "hPubErrorException", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubErrorException", null); String hPubExceptionPropDesc = res.getString("hPubExceptionPropDesc"); pdHPubErrorException.setShortDescription(hPubExceptionPropDesc); PropertyDescriptor pdHPubLinkKey = new PropertyDescriptor( "hPubLinkKey", com.ibm.HostPublisher.IntegrationObject.HPubCommon.class, "getHPubLinkKey", "setHPubLinkKey"); String hPubLinkKeyPropDesc = res.getString("hPubLinkKeyPropDesc"); pdHPubLinkKey.setShortDescription(hPubLinkKeyPropDesc); PropertyDescriptor[] arrayOfPDs = { pdCrt, pdJur, pdYr, pdInf, pdSuffix, pdMaj, pdOther, pdReturnMessage, pdCourtOffice, pdHPubXMLProperties, pdHPubStartPoolName, pdHPubStartChainName, pdHPubEndChainName, pdHPubStartType, pdHPubEndType, pdHPubErrorException, pdHPubLinkKey }; return arrayOfPDs; } catch (Exception e) { System.out.println(e); return null; } }
public PropertyDescriptor[] getPropertyDescriptors() { try { String stringPackageName = new String("IntegrationObject"); PropertyDescriptor pdHPubMacroMessage = new PropertyDescriptor( "HPubMacroMessage", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubMacroMessage", "setHPubMacroMessage"); pdHPubMacroMessage.setShortDescription("HPubMacroMessage"); PropertyDescriptor pdHPubScreenState = new PropertyDescriptor( "HPubScreenState", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubScreenState", "setHPubScreenState"); pdHPubScreenState.setShortDescription("HPubScreenState"); PropertyDescriptor pdAmount = new PropertyDescriptor( "amount", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getAmount", null); pdAmount.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdAmount1 = new PropertyDescriptor( "amount1", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getAmount1", null); pdAmount1.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdDescription = new PropertyDescriptor( "description", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getDescription", null); pdDescription.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdDescription1 = new PropertyDescriptor( "description1", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getDescription1", null); pdDescription1.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdHPubBeanName = new PropertyDescriptor( "hPubBeanName", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubBeanName", null); pdHPubBeanName.setShortDescription( "The name of the current Integration Object, EJB Access Bean, or " + "Remote Integration Object."); PropertyDescriptor pdHPubBeanType = new PropertyDescriptor( "hPubBeanType", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubBeanType", null); pdHPubBeanType.setShortDescription( "A string representing the type of Host Publisher Integration Obj" + "ect, Remote Integration Object, or EJB Access Bean."); PropertyDescriptor pdHPubEndChainName = new PropertyDescriptor( "hPubEndChainName", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubEndChainName", "setHPubEndChainName"); pdHPubEndChainName.setShortDescription( "The name of the stop state label as defined in Host Access. Thi" + "s value is null for the last Integration Object in a chain or fo" + "r one that is not chained."); PropertyDescriptor pdHPubEndType = new PropertyDescriptor( "hPubEndType", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubEndType", "setHPubEndType"); pdHPubEndType.setShortDescription( "A value of 0 indicates that the session is returned to the pool " + "when this Bean completes; a value of 1 indicates that the sessio" + "n will remain open when this Bean completes andprocessing is com" + "plete and can be referenced for later use by another Bean via th" + "e End Chain Name."); PropertyDescriptor pdHPubErrorException = new PropertyDescriptor( "hPubErrorException", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubErrorException", null); pdHPubErrorException.setShortDescription( "An exception object that describes the error that occurred; vali" + "d only if getHPubErrorOccurred() is non-zero"); PropertyDescriptor pdHPubErrorMessage = new PropertyDescriptor( "hPubErrorMessage", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubErrorMessage", null); pdHPubErrorMessage.setShortDescription( "A string containing the Host Publisher code and message of the e" + "rror that occurred; valid only if getHPubErrorOccurred() is non-" + "zero"); PropertyDescriptor pdHPubErrorOccurred = new PropertyDescriptor( "hPubErrorOccurred", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubErrorOccurred", null); pdHPubErrorOccurred.setShortDescription("A non-zero value when an error has occurred."); PropertyDescriptor pdHPubLinkKey = new PropertyDescriptor( "hPubLinkKey", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubLinkKey", "setHPubLinkKey"); pdHPubLinkKey.setShortDescription( "The name of the key that represents the connection for the Integ" + "ration Object chain."); PropertyDescriptor pdHPubOutputParmSuffix = new PropertyDescriptor( "hPubOutputParmSuffix", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubOutputParmSuffix", null); pdHPubOutputParmSuffix.setShortDescription( "A suffix added to the name of all output properties"); PropertyDescriptor pdHPubStartChainName = new PropertyDescriptor( "hPubStartChainName", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubStartChainName", "setHPubStartChainName"); pdHPubStartChainName.setShortDescription( "The name of the start state label as defined in Host Access. Th" + "is value is null for the first Integration Object in a chain or " + "for one that is not chained."); PropertyDescriptor pdHPubStartPoolName = new PropertyDescriptor( "hPubStartPoolName", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubStartPoolName", "setHPubStartPoolName"); pdHPubStartPoolName.setShortDescription( "The name of the connection pool from which the Integration Objec" + "t will acquire the connection."); PropertyDescriptor pdHPubStartType = new PropertyDescriptor( "hPubStartType", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubStartType", "setHPubStartType"); pdHPubStartType.setShortDescription( "A value of 0 indicates that the session is retrieved using the P" + "ool Name; a value of 1 indicates that the session is started fro" + "m an existing Connection using the Start Chain Name."); PropertyDescriptor pdHPubXMLProperties = new PropertyDescriptor( "hPubXMLProperties", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubXMLProperties", null); pdHPubXMLProperties.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdHPubXMLPropertiesWithoutInvoking = new PropertyDescriptor( "hPubXMLPropertiesWithoutInvoking", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getHPubXMLPropertiesWithoutInvoking", null); pdHPubXMLPropertiesWithoutInvoking.setShortDescription( "An XML formatted string specifying the property names and values" + " for this Integration Object."); PropertyDescriptor pdNSFChequesList = new PropertyDescriptor( "nSFChequesList", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesList", null); pdNSFChequesList.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdNSFChequesList1 = new PropertyDescriptor( "nSFChequesList1", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesList1", null); pdNSFChequesList1.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdNSFChequesList1desc = new IndexedPropertyDescriptor( "nSFChequesList1desc", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesList1desc", null, "getNSFChequesList1desc", null); pdNSFChequesList1desc.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdNSFChequesList1revtrans = new IndexedPropertyDescriptor( "nSFChequesList1revtrans", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesList1revtrans", null, "getNSFChequesList1revtrans", null); pdNSFChequesList1revtrans.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdNSFChequesList1trans = new IndexedPropertyDescriptor( "nSFChequesList1trans", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesList1trans", null, "getNSFChequesList1trans", null); pdNSFChequesList1trans.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdNSFChequesListdesc = new IndexedPropertyDescriptor( "nSFChequesListdesc", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesListdesc", null, "getNSFChequesListdesc", null); pdNSFChequesListdesc.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdNSFChequesListrevtrans = new IndexedPropertyDescriptor( "nSFChequesListrevtrans", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesListrevtrans", null, "getNSFChequesListrevtrans", null); pdNSFChequesListrevtrans.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); IndexedPropertyDescriptor pdNSFChequesListtrans = new IndexedPropertyDescriptor( "nSFChequesListtrans", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFChequesListtrans", null, "getNSFChequesListtrans", null); pdNSFChequesListtrans.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdNSFError = new PropertyDescriptor( "nSFError", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFError", null); pdNSFError.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdNSFError1 = new PropertyDescriptor( "nSFError1", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getNSFError1", null); pdNSFError1.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReason = new PropertyDescriptor( "reason", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getReason", null); pdReason.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReason1 = new PropertyDescriptor( "reason1", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getReason1", null); pdReason1.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReasonTwo = new PropertyDescriptor( "reasonTwo", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getReasonTwo", null); pdReasonTwo.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReasonTwo1 = new PropertyDescriptor( "reasonTwo1", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getReasonTwo1", null); pdReasonTwo1.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdReturnMessage = new PropertyDescriptor( "returnMessage", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getReturnMessage", null); pdReturnMessage.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdTransaction = new PropertyDescriptor( "transaction", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getTransaction", null); pdTransaction.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor pdTransaction1 = new PropertyDescriptor( "transaction1", Class.forName(stringPackageName + "." + "NSFChequesResult_Access"), "getTransaction1", null); pdTransaction1.setShortDescription( "Bean variable which corresponds to emulator data which is used t" + "o communicate with the host application."); PropertyDescriptor[] arrayOfPDs = { pdHPubMacroMessage, pdHPubScreenState, pdAmount, pdAmount1, pdDescription, pdDescription1, pdHPubBeanName, pdHPubBeanType, pdHPubEndChainName, pdHPubEndType, pdHPubErrorException, pdHPubErrorMessage, pdHPubErrorOccurred, pdHPubLinkKey, pdHPubOutputParmSuffix, pdHPubStartChainName, pdHPubStartPoolName, pdHPubStartType, pdHPubXMLProperties, pdHPubXMLPropertiesWithoutInvoking, pdNSFChequesList, pdNSFChequesList1, pdNSFChequesList1desc, pdNSFChequesList1revtrans, pdNSFChequesList1trans, pdNSFChequesListdesc, pdNSFChequesListrevtrans, pdNSFChequesListtrans, pdNSFError, pdNSFError1, pdReason, pdReason1, pdReasonTwo, pdReasonTwo1, pdReturnMessage, pdTransaction, pdTransaction1 }; return arrayOfPDs; } catch (Exception e) { System.out.println(e); return null; } }
// Static initializer. static { try { // Events. EventSetDescriptor event1 = new EventSetDescriptor( beanClass_, "propertyChange", PropertyChangeListener.class, "propertyChange"); event1.setDisplayName(rbl_.getText("EVT_NAME_PROPERTY_CHANGE")); event1.setShortDescription(rbl_.getText("EVT_DESC_PROPERTY_CHANGE")); EventSetDescriptor event2 = new EventSetDescriptor( beanClass_, "actionCompleted", ActionCompletedListener.class, "actionCompleted"); event2.setDisplayName(rbl_.getText("EVT_NAME_ACTION_COMPLETED")); event2.setShortDescription(rbl_.getText("EVT_DESC_ACTION_COMPLETED")); EventSetDescriptor event3 = new EventSetDescriptor( beanClass_, "propertyChange", VetoableChangeListener.class, "vetoableChange"); event3.setDisplayName(rbl_.getText("EVT_NAME_PROPERTY_VETO")); event3.setShortDescription(rbl_.getText("EVT_DESC_PROPERTY_VETO")); events_ = new EventSetDescriptor[] {event1, event2, event3}; // Properties. PropertyDescriptor classPath = new PropertyDescriptor("classPath", beanClass_, "getClassPath", "setClassPath"); classPath.setBound(true); classPath.setConstrained(true); classPath.setDisplayName(rbl_.getText("PROP_NAME_JAC_CLASSPATH")); classPath.setShortDescription(rbl_.getText("PROP_DESC_JAC_CLASSPATH")); PropertyDescriptor classPathSecurityChkLvl = new PropertyDescriptor( "securityCheckLevel", beanClass_, "getSecurityCheckLevel", "setSecurityCheckLevel"); classPathSecurityChkLvl.setBound(true); classPathSecurityChkLvl.setConstrained(true); classPathSecurityChkLvl.setDisplayName(rbl_.getText("PROP_NAME_JAC_SECCHKLVL")); classPathSecurityChkLvl.setShortDescription(rbl_.getText("PROP_DESC_JAC_SECCHKLVL")); PropertyDescriptor garbageCollectInitialSize = new PropertyDescriptor( "garbageCollectionInitialSize", beanClass_, "getGarbageCollectionInitialSize", "setGarbageCollectionInitialSize"); garbageCollectInitialSize.setBound(true); garbageCollectInitialSize.setConstrained(true); garbageCollectInitialSize.setDisplayName(rbl_.getText("PROP_NAME_JAC_GCINIT")); garbageCollectInitialSize.setShortDescription(rbl_.getText("PROP_DESC_JAC_GCINIT")); PropertyDescriptor garbageCollectMaximumSize = new PropertyDescriptor( "garbageCollectionMaximumSize", beanClass_, "getGarbageCollectionMaximumSize", "setGarbageCollectionMaximumSize"); garbageCollectMaximumSize.setBound(true); garbageCollectMaximumSize.setConstrained(true); garbageCollectMaximumSize.setDisplayName(rbl_.getText("PROP_NAME_JAC_GCMAX")); garbageCollectMaximumSize.setShortDescription(rbl_.getText("PROP_DESC_JAC_GCMAX")); PropertyDescriptor garbageCollectionFrequency = new PropertyDescriptor( "garbageCollectionFrequency", beanClass_, "getGarbageCollectionFrequency", "setGarbageCollectionFrequency"); garbageCollectionFrequency.setBound(true); garbageCollectionFrequency.setConstrained(true); garbageCollectionFrequency.setDisplayName(rbl_.getText("PROP_NAME_JAC_GCFREQ")); garbageCollectionFrequency.setShortDescription(rbl_.getText("PROP_DESC_JAC_GCFREQ")); PropertyDescriptor garbageCollectionPriority = new PropertyDescriptor( "garbageCollectionPriority", beanClass_, "getGarbageCollectionPriority", "setGarbageCollectionPriority"); garbageCollectionPriority.setBound(true); garbageCollectionPriority.setConstrained(true); garbageCollectionPriority.setDisplayName(rbl_.getText("PROP_NAME_JAC_GCPRIORITY")); garbageCollectionPriority.setShortDescription(rbl_.getText("PROP_DESC_JAC_GCPRIORITY")); PropertyDescriptor interpret = new PropertyDescriptor("interpret", beanClass_, "getInterpret", "setInterpret"); interpret.setBound(true); interpret.setConstrained(true); interpret.setDisplayName(rbl_.getText("PROP_NAME_JAC_INTERPRET")); interpret.setShortDescription(rbl_.getText("PROP_DESC_JAC_INTERPRET")); PropertyDescriptor javaApplication = new PropertyDescriptor( "javaApplication", beanClass_, "getJavaApplication", "setJavaApplication"); javaApplication.setBound(true); javaApplication.setConstrained(true); javaApplication.setDisplayName(rbl_.getText("PROP_NAME_JAC_JAVAAPP")); javaApplication.setShortDescription(rbl_.getText("PROP_DESC_JAC_JAVAAPP")); PropertyDescriptor optimization = new PropertyDescriptor("optimization", beanClass_, "getOptimization", "setOptimization"); optimization.setBound(true); optimization.setConstrained(true); optimization.setDisplayName(rbl_.getText("PROP_NAME_JAC_OPTIMIZE")); optimization.setShortDescription(rbl_.getText("PROP_DESC_JAC_OPTIMIZE")); PropertyDescriptor option = new PropertyDescriptor("option", beanClass_, "getOptions", "setOptions"); option.setBound(true); option.setConstrained(true); option.setDisplayName(rbl_.getText("PROP_NAME_JAC_OPTION")); option.setShortDescription(rbl_.getText("PROP_DESC_JAC_OPTION")); PropertyDescriptor parameters = new PropertyDescriptor("parameters", beanClass_, "getParameters", "setParameters"); parameters.setBound(true); parameters.setConstrained(true); parameters.setDisplayName(rbl_.getText("PROP_NAME_JAC_PARAMETERS")); parameters.setShortDescription(rbl_.getText("PROP_DESC_JAC_PARAMETERS")); PropertyDescriptor portSearch = new PropertyDescriptor("findPort", beanClass_, "isFindPort", "setFindPort"); portSearch.setBound(true); portSearch.setConstrained(true); portSearch.setDisplayName(rbl_.getText("PROP_NAME_JAC_PORTSEARCH")); portSearch.setShortDescription(rbl_.getText("PROP_DESC_JAC_PORTSEARCH")); properties_ = new PropertyDescriptor[] { classPath, classPathSecurityChkLvl, garbageCollectInitialSize, garbageCollectMaximumSize, garbageCollectionFrequency, garbageCollectionPriority, interpret, javaApplication, parameters, optimization, option, portSearch, }; } catch (IntrospectionException e) { throw new Error(e.toString()); } }