/** * Returns the transitionEffect * * @return the transitionEffect * @throws PropertyUndefinedError if {@link #isSetTransitionEffect()} return {@code false}. */ public OutputTransitionEffect getTransitionEffect() { if (isSetTransitionEffect()) { return transitionEffect; } throw new PropertyUndefinedError(QualConstants.transitionEffect, this); }
/** * @param property * @param node */ public PropertyUndefinedError(String property, TreeNode node) { super(createMessage(PROPERTY_UNDEFINED_EXCEPTION_MSG_TREE_NODE, property, node)); }
/** * @return the sign */ public Sign getSign() { if (isSetSign()) { return sign; } else { throw new PropertyUndefinedError(QualConstants.sign, this); } }
/** * @param property * @param sbasePlugin */ public PropertyUndefinedError(String property, SBasePlugin sbasePlugin) { // TODO: change to include package short name or namespace?? super(createMessage(PROPERTY_UNDEFINED_EXCEPTION_MSG_SBASE, property, sbasePlugin)); }
/** * @return the maxLevel */ public int getMaxLevel() { if (isSetMaxLevel()) { return maxLevel.intValue(); } throw new PropertyUndefinedError(QualConstants.maxLevel, this); }
/** * Returns the value of csgObjectRef * * @return the value of csgObjectRef */ public String getCsgObjectRef() { if (isSetCsgObjectRef()) { return csgObjectRef; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.primitiveType, this); }
/** * Returns the value of arrayDimension * * @return the value of arrayDimension */ public int getArrayDimension() { if (isSetArrayDimension()) { return arrayDimension; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(ArraysConstants.arrayDimension, this); }
/** * Returns the value of translateX * * @return the value of translateX */ public double getTranslateX() { if (isSetTranslateX()) { return translateX; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.translateX, this); }
/** * Returns the value of translateY * * @return the value of translateY */ public double getTranslateY() { if (isSetTranslateY()) { return translateY; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.translateY, this); }
/** * Returns the value of isLocal * * @return the value of isLocal */ public boolean getIsLocal() { if (isSetIsLocal()) { return isLocal; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.isLocal, this); }
/** * Returns the value of polygonType * * @return the value of polygonType */ public PolygonKind getPolygonType() { if (isSetPolygonType()) { return polygonType; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.polygonType, this); }
/** * Returns the value of maxValue * * @return the value of maxValue */ public double getMaxValue() { if (isSetMaxValue()) { return maxValue.doubleValue(); } throw new PropertyUndefinedError(SpatialConstants.maxValue, this); }
/** * Returns the value of coord1 * * @return the value of coord1 */ public double getCoord1() { if (isSetCoord1()) { return coord1; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.coord1, this); }
/** * Returns the value of compression * * @return the value of compression */ public CompressionKind getCompression() { if (isSetCompression()) { return compression; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.compression, this); }
/** * Returns the value of diffusionKind * * @return the value of diffusionKind */ public DiffusionKind getDiffusionKind() { if (isSetDiffusionKind()) { return diffusionKind; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.diffusionKind, this); }
/** * Returns the value of compression. * * @return the value of compression. */ public CompressionKind getCompression() { if (isSetCompression()) { return compression; } // This is necessary if we cannot return null here. For variables of type String return an empty String if no value is defined. throw new PropertyUndefinedError(SpatialConstants.compression, this); }
/** * Returns the value of dataType. * * @return the value of dataType. */ public DataKind getDataType() { if (isSetDataType()) { return dataType; } // This is necessary if we cannot return null here. For variables of type String return an empty String if no value is defined. throw new PropertyUndefinedError(SpatialConstants.dataType, this); }
/** * Returns the value of domainType * * @return the value of domainType */ public String getDomainType() { if (isSetDomainType()) { return domainType; } // This is necessary if we cannot return null here. throw new PropertyUndefinedError(SpatialConstants.domainType, this); }
/** * Returns the value of csgNode * * @return the value of csgNode */ public CSGNode getCSGNode() { if (isSetCSGNode()) { return csgNode; } throw new PropertyUndefinedError(SpatialConstants.csgNode, this); }
/** * @return the qualitativeSpecies */ public String getQualitativeSpecies() { if (isSetQualitativeSpecies()) { return qualitativeSpecies; } else { throw new PropertyUndefinedError(QualConstants.qualitativeSpecies, this); } }