/** * Gets the collection of loaded property definitions. * * @return the loaded property definitions * @throws Exception the exception */ public Collection<PropertyDefinitionBase> getLoadedPropertyDefinitions() throws Exception { Collection<PropertyDefinitionBase> propDefs = new ArrayList<PropertyDefinitionBase>(); for (PropertyDefinition propDef : this.getPropertyBag().getProperties() .keySet()) { propDefs.add(propDef); } if (this.getExtendedProperties() != null) { for (ExtendedProperty extProp : getExtendedProperties()) { propDefs.add(extProp.getPropertyDefinition()); } } return propDefs; }
/** * Gets the collection of loaded property definitions. * * @return the loaded property definitions * @throws Exception the exception */ public Collection<PropertyDefinitionBase> getLoadedPropertyDefinitions() throws Exception { Collection<PropertyDefinitionBase> propDefs = new ArrayList<PropertyDefinitionBase>(); for (PropertyDefinition propDef : this.getPropertyBag().getProperties() .keySet()) { propDefs.add(propDef); } if (this.getExtendedProperties() != null) { for (ExtendedProperty extProp : getExtendedProperties()) { propDefs.add(extProp.getPropertyDefinition()); } } return propDefs; }