Class ReferenceOrientationMaker

All Implemented Interfaces:
Cloneable

public class ReferenceOrientationMaker extends NumberProperty.Maker
Custom Maker adding validity check for reference-orientation
  • Constructor Details

    • ReferenceOrientationMaker

      public ReferenceOrientationMaker(int propId)
      Constructor
      Parameters:
      propId - the Constant Id for the property to be made
  • Method Details

    • get

      public Property get(int subpropId, PropertyList propertyList, boolean tryInherit, boolean tryDefault) throws PropertyException
      Check the value of the reference-orientation property. Return the property on the current FlowObject. Depending on the passed flags, this will try to compute it based on other properties, or if it is inheritable, to return the inherited value. If all else fails, it returns the default value.
      Overrides:
      get in class PropertyMaker
      Parameters:
      subpropId - The subproperty id of the property being retrieved. Is 0 when retrieving a base property.
      propertyList - The PropertyList object being built for this FO.
      tryInherit - true if inherited properties should be examined.
      tryDefault - true if the default value should be returned.
      Returns:
      the property value
      Throws:
      PropertyException - if there is a problem evaluating the property