| java.lang.Object es.udc.mypersonalizer.portal.model.wizards.PropertyUpdaterHelper
PropertyUpdaterHelper | public class PropertyUpdaterHelper (Code) | | Helper class for propery updaters. It provides methods primarily related to
the propertyStructureName parameter of the wizard events.
author: Daniel Fernandez since: 1.0 |
getPropertyStructureNumber | static int getPropertyStructureNumber(String structureName) throws InternalErrorException(Code) | | Extracts the property structure number from a given property structure
name. This is the number which identifies the number of value appliable
to the property tree so as to find the adequate property. For example,
if the property structure name were 0.a.1, this method would
give as a result 0.
Parameters: structureName - the property structure name. throws: InternalErrorException - if any fatal errors occur. an int being the number of value in the property. |
getPropertyStructurePropertyName | static String getPropertyStructurePropertyName(String structureName) throws InternalErrorException(Code) | | This number takes the property name from a property structure name. This
is, removes the last number which selects a value inside a property
(selects a property structure). So, from 0.a.1 would return
0.a.
If the property structure name is only a number, for example 0,
it returns an emtpy string.
Parameters: structureName - the property structure name throws: InternalErrorException - if any fatal error occurs. a String being the property selector from the property structurename. |
isStructureNameWellFormed | static boolean isStructureNameWellFormed(String structureName)(Code) | | This method checks that a property structure name is correctly formed.
This is, that is in the form 0, 0.a.1,
0.a.1.b.2... designating correctly the position of a
property structure in the Property tree.
Parameters: structureName - the property structure name string to check. true if the name is well formed, false if not. |
|
|