public abstract class ModelItemLooper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
currentName
The name of the current item in the loop
|
| Constructor and Description |
|---|
ModelItemLooper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkName(CallModelItem item)
See whether the item matches the name filter
|
java.lang.String[] |
getNameList() |
java.lang.String |
getNamePattern() |
com.ptc.pfc.pfcModelItem.ModelItemType |
getSearchType() |
void |
loop(CallModel m)
Loop through ModelItems on a model
|
abstract boolean |
loopAction(CallModelItem item)
Abstract function which is called for each ModelItem which matches the filters.
|
void |
setNameList(java.util.List<java.lang.String> nameList) |
void |
setNamePattern(java.lang.String namePattern) |
void |
setSearchType(com.ptc.pfc.pfcModelItem.ModelItemType searchType) |
protected java.lang.String currentName
public void loop(CallModel m) throws JLIException, com.ptc.cipjava.jxthrowable
m - The model which owns the ModelItemsJLIExceptioncom.ptc.cipjava.jxthrowablepublic abstract boolean loopAction(CallModelItem item) throws JLIException, com.ptc.cipjava.jxthrowable
item - The ModelItem which matches the filtersJLIExceptioncom.ptc.cipjava.jxthrowablepublic boolean checkName(CallModelItem item) throws com.ptc.cipjava.jxthrowable
item - The item to checkcom.ptc.cipjava.jxthrowablepublic java.lang.String getNamePattern()
public void setNamePattern(java.lang.String namePattern)
namePattern - The item name filterpublic com.ptc.pfc.pfcModelItem.ModelItemType getSearchType()
public void setSearchType(com.ptc.pfc.pfcModelItem.ModelItemType searchType)
searchType - The ModelItem type filterpublic java.lang.String[] getNameList()
public void setNameList(java.util.List<java.lang.String> nameList)
nameList - The item name filter list