org.sdmlib.models.taskflows.util.SDMLibJsonIdMapPO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SDMLib Show documentation
Show all versions of SDMLib Show documentation
SDMLib is a light weight modeling library. SDMLib intentionally comes without any tool or editor.
package org.sdmlib.models.taskflows.util;
import org.sdmlib.models.pattern.PatternObject;
import org.sdmlib.serialization.SDMLibJsonIdMap;
public class SDMLibJsonIdMapPO extends PatternObject
{
public SDMLibJsonIdMapSet allMatches()
{
this.setDoAllMatches(true);
SDMLibJsonIdMapSet matches = new SDMLibJsonIdMapSet();
while (this.getPattern().getHasMatch())
{
matches.add((SDMLibJsonIdMap) this.getCurrentMatch());
this.getPattern().findMatch();
}
return matches;
}
public SDMLibJsonIdMapPO(){
newInstance(CreatorCreator.createIdMap("PatternObjectType"));
}
public SDMLibJsonIdMapPO(SDMLibJsonIdMap... hostGraphObject) {
if(hostGraphObject==null || hostGraphObject.length<1){
return ;
}
newInstance(CreatorCreator.createIdMap("PatternObjectType"), hostGraphObject);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy