| java.lang.Object org.openharmonise.rm.resources.metadata.properties.ranges.AbstractRange org.openharmonise.rm.resources.metadata.properties.ranges.ProfileRange
ProfileRange | public class ProfileRange extends AbstractRange implements Range,Publishable(Code) | | Class which represents a Property range which is
restricted to Profile values.
author: Michael Bell version: $Revision: 1.3 $ |
Constructor Summary | |
public | ProfileRange() | public | ProfileRange(String sObjClassName, String sDetails) Constructs a ProfileRange with the specified class type and
other restrictions,
Parameters: sObjClassName - the class name of the values of this range. |
TAG_PATH_RESTRICTION | final public static String TAG_PATH_RESTRICTION(Code) | | Path restriction XML tag name
|
TAG_PROFILE_RANGE | final public static String TAG_PROFILE_RANGE(Code) | | Profile range tag name
|
ProfileRange | public ProfileRange()(Code) | | Constructs a new ProfileRange ,
|
ProfileRange | public ProfileRange(String sObjClassName, String sDetails)(Code) | | Constructs a ProfileRange with the specified class type and
other restrictions,
Parameters: sObjClassName - the class name of the values of this range. This will normally be the class name of Profile but couldconcievably be the class name of a subclass of Profile Parameters: sDetails - a String representation of the non classtype restrictions |
addAllowedPropertyParent | public void addAllowedPropertyParent(String sPath)(Code) | | Adds an individual path to the current list of PropertyGroup
paths whose Property children can be added to the
Profile values of this range.
Parameters: sPath - the PropertyGroup path |
getAllowedProperties | public List getAllowedProperties(AbstractDataStoreInterface dsi) throws DataAccessException(Code) | | Returns the properties whose instances can be added to the
Profile values of this range.
Parameters: dsi - the data store interface the properties whose instances can be added to the Profile values of this range throws: DataAccessException - if an error occurs instantiating thePropertyGroup s or getting the children of thosePropertyGroup s |
getAllowedPropertyParents | public List getAllowedPropertyParents()(Code) | | Returns a list of paths of PropertyGroup s whose Property
children can be added to Profile values of this range,
a list of paths of PropertyGroup s |
setAllowedPropertyParents | public void setAllowedPropertyParents(List allowedParents)(Code) | | Sets the list of paths of PropertyGroup s whose Property
children can be added to Profile values of this range,
Parameters: allowedParents - a list of paths of PropertyGroup s |
|
|