Class DimensionPropertyMaker

    • Field Detail

      • extraCorresponding

        private int[][] extraCorresponding
    • Constructor Detail

      • DimensionPropertyMaker

        public DimensionPropertyMaker​(PropertyMaker baseMaker)
        Instantiate a dimension property maker.
        Parameters:
        baseMaker - the base property maker
    • Method Detail

      • setExtraCorresponding

        public void setExtraCorresponding​(int[][] extraCorresponding)
        Set extra correspondences.
        Parameters:
        extraCorresponding - an array of four element integer arrays
      • compute

        public Property compute​(PropertyList propertyList)
                         throws PropertyException
        Return a Property object representing the value of this property, based on other property values for this FO. A special case is properties which inherit the specified value, rather than the computed value.
        Overrides:
        compute in class CorrespondingPropertyMaker
        Parameters:
        propertyList - The PropertyList for the FO.
        Returns:
        Property A computed Property value or null if no rules are specified (in foproperties.xml) to compute the value.
        Throws:
        PropertyException - if a property exception occurs