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

one.empty3.tests.Path Maven / Gradle / Ivy

There is a newer version: 2024.5.10
Show newest version
/*
 * Copyright (c) 2022-2023. Manuel Daniel Dahmen
 *
 *
 *    Copyright 2012-2023 Manuel Daniel Dahmen
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package one.empty3.tests;

import one.empty3.library.MatrixPropertiesObject;
import one.empty3.library.Representable;
import one.empty3.library.StructureMatrix;

public class Path {
    private Representable representable;
    private String propertyPathString;
    private int pathElemType;
    private int indexI;
    private int indexJ;
    private Object o;
    private StructureMatrix container;
    private StructureMatrix declaredProperty;


    public Path( StructureMatrix declaredProperty,
                 Object representable, String propertyPathString, int pathElemType, int indexI, int indexJ) {
        this.o = representable;
        this.representable = (Representable) representable;
        this.propertyPathString = propertyPathString;
        this.pathElemType = pathElemType;
        this.indexI = indexI;
        this.indexJ = indexJ;
        this.declaredProperty = declaredProperty;
    }


    public String getPropertyPathString() {
        return propertyPathString;
    }

    public void setPropertyPathString(String propertyPathString) {
        this.propertyPathString = propertyPathString;
    }

    public int getPathElemType() {
        return pathElemType;
    }

    public void setPathElemType(int pathElemType) {
        this.pathElemType = pathElemType;
    }

    public int getIndexI() {
        return indexI;
    }

    public void setIndexI(int indexI) {
        this.indexI = indexI;
    }

    public int getIndexJ() {
        return indexJ;
    }

    public void setIndexJ(int indexJ) {
        this.indexJ = indexJ;
    }

    public void setRepresentable(Representable representable) {
        this.representable = representable;
    }

    public Object getO() {
        return o;
    }

    public void setO(Object o) {
        this.o = o;
    }
    public StructureMatrix getDeclaredProperty() {
        return declaredProperty;
    }

    public void setDeclaredProperty(StructureMatrix declaredProperty) {
        this.declaredProperty = declaredProperty;
    }
}