| java.lang.Object org.openharmonise.rm.resources.metadata.properties.ranges.AbstractRange
All known Subclasses: org.openharmonise.rm.resources.metadata.properties.ranges.NumberRange, org.openharmonise.rm.resources.metadata.properties.ranges.DateRange, org.openharmonise.rm.resources.metadata.properties.ranges.StringRange, org.openharmonise.rm.resources.metadata.properties.ranges.URIRange, org.openharmonise.rm.resources.metadata.properties.ranges.RelativeChildObjectRange, org.openharmonise.rm.resources.metadata.properties.ranges.ProfileRange, org.openharmonise.rm.resources.metadata.properties.ranges.BooleanRange, org.openharmonise.rm.resources.metadata.properties.ranges.AbsoluteChildObjectRange,
AbstractRange | abstract public class AbstractRange implements Range,Publishable,Cloneable(Code) | | Base abstract implementation of the Range interface
for Property ranges. Handles data which define the restrictions on
allowed property instance values.
author: Michael Bell version: $Revision: 1.2 $ |
Constructor Summary | |
public | AbstractRange() Constructs a new range. | public | AbstractRange(String sObjectClassName) Constructs a range with the specified class type restriction. | public | AbstractRange(String sObjectClassName, String sDetails) Constructs a range with the specified class type and other restrictions. |
TAG_RANGE | final public static String TAG_RANGE(Code) | | The range XML element name
|
TAG_RANGE_DETAILS | final public static String TAG_RANGE_DETAILS(Code) | | The range details XML element name
|
TAG_RANGE_OBJECT | final public static String TAG_RANGE_OBJECT(Code) | | The range object XML element name
|
m_sDetails | protected String m_sDetails(Code) | | The String representation of all non class type restrictions
for this range
|
m_sObjectClassName | protected String m_sObjectClassName(Code) | | The class name of the class restriction for this range
|
AbstractRange | public AbstractRange()(Code) | | Constructs a new range.
|
AbstractRange | public AbstractRange(String sObjectClassName)(Code) | | Constructs a range with the specified class type restriction.
Parameters: sObjectClassName - the class name of objects within this range |
AbstractRange | public AbstractRange(String sObjectClassName, String sDetails)(Code) | | Constructs a range with the specified class type and other restrictions.
Parameters: sObjectClassName - the class name of objects within this range Parameters: sDetails - a String representation of the non classtype restrictions |
hasDetails | public boolean hasDetails()(Code) | | Returns true if this range has restrictions other than
the class type restriction.
true if this range has restrictions other thanthe class type restriction |
isChanged | public void isChanged(boolean bIsChanged)(Code) | | Sets the boolean flag which indicates a change to this range.
Parameters: bIsChanged - true to indicate that this range has been changed since population |
isChanged | public boolean isChanged()(Code) | | Returns true if this range has changed since population.
true if this range has changed since population |
|
|