org.sdmlib.replication.util.ChangeEventListPO 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.replication.util;
import org.sdmlib.models.pattern.PatternObject;
import org.sdmlib.replication.ChangeEventList;
public class ChangeEventListPO extends PatternObject
{
public ChangeEventListSet allMatches()
{
this.setDoAllMatches(true);
ChangeEventListSet matches = new ChangeEventListSet();
while (this.getPattern().getHasMatch())
{
matches.add((ChangeEventList) this.getCurrentMatch());
this.getPattern().findMatch();
}
return matches;
}
public ChangeEventListPO(){
newInstance(org.sdmlib.replication.util.CreatorCreator.createIdMap("PatternObjectType"));
}
public ChangeEventListPO(ChangeEventList... hostGraphObject) {
if(hostGraphObject==null || hostGraphObject.length<1){
return ;
}
newInstance(org.sdmlib.replication.util.CreatorCreator.createIdMap("PatternObjectType"), hostGraphObject);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy