
org.sdmlib.models.tables.util.ObjectPO Maven / Gradle / Ivy
package org.sdmlib.models.tables.util;
import org.sdmlib.models.pattern.PatternObject;
public class ObjectPO extends PatternObject
{
public ObjectSet allMatches()
{
this.setDoAllMatches(true);
ObjectSet matches = new ObjectSet();
while (this.getPattern().getHasMatch())
{
matches.add((Object) this.getCurrentMatch());
this.getPattern().findMatch();
}
return matches;
}
public ObjectPO(){
newInstance(null);
}
public ObjectPO(Object... hostGraphObject) {
if(hostGraphObject==null || hostGraphObject.length<1){
return ;
}
newInstance(null, hostGraphObject);
}
public ObjectPO(String modifier)
{
this.setModifier(modifier);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy