view src/main/java/org/mpi/openmind/repository/services/utils/RelationFilter.java @ 94:869fb6bb3641

additional fields and default constructor for RelationFilter.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Wed, 13 Jun 2018 15:01:37 +0200
parents 615d27dce9b3
children
line wrap: on
line source

package org.mpi.openmind.repository.services.utils;

public class RelationFilter extends Filter{
	
	public String srcAttOwnValue;
	public String srcAttName;
	public Boolean srcAttNormalizedOwnValue = false;
	//the value of this variable 
	//means if the Attribute of the Source should be included in the searching. 
	public Boolean srcAttInclude = false;
		
	public String srcOwnValue;
	public String srcObjectClass;
	public Boolean srcNormalizedOwnValue = false;
	public Boolean srcInclude = true;
	
	public String relOwnValue;
	public String relObjectClass;
	public String relNormalizedOwnValue;
	
	public String tarOwnValue;
	public String tarObjectClass;
	public Boolean tarNormaliedOwnValue;
	public Boolean tarInclude = true;
	
	public String tarAttOwnValue;
	public String tarAttName;
	public Boolean tarAttNormalizedOwnValue;
	//the value of this variable 
	//means if the Attribute of the Target should be included in the searching. 
	public Boolean tarAttInclude = false;
	
	/**
	 * match if the relation is not present.
	 */
	public Boolean relationMissing = false;
	
	public RelationFilter(String srcOwnValue, String relOwnValue, String tarOwnValue){
		this.srcOwnValue = srcOwnValue;
		this.relOwnValue = relOwnValue;
		this.tarOwnValue = tarOwnValue;
	}

	public RelationFilter() {
	}
}