All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.randombits.confluence.metadata.reference.EvaluatedNumberReference Maven / Gradle / Ivy

There is a newer version: 7.4.1
Show newest version
package org.randombits.confluence.metadata.reference;

public class EvaluatedNumberReference implements Reference {


    private static final long serialVersionUID = -534743642815834449L;

    private long contentId;

    private String dataPath;

    private String expression;

    /**
     * Used by XStream.
     */
    @SuppressWarnings({"UnusedDeclaration"})
    EvaluatedNumberReference() {
    }

    public EvaluatedNumberReference( long contentId, String dataPath, String expression ) {
        this.contentId = contentId;
        this.dataPath = dataPath;
        this.expression = expression;
    }

    public long getContentId() {
        return contentId;
    }

    public String getExpression() {
        return expression;
    }

    @Override
    public String toString() {
        return expression;
    }

    public String getDataPath() {
        return dataPath;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy