Move of TagsData in TagsDataByIndex and Split of TagsDataById in TagsData and TagsDataById.
This commit is contained in:
parent
ff46c66f50
commit
f8cb652129
1 changed files with 46 additions and 0 deletions
46
src/xid/TagsDataByIndex.java
Normal file
46
src/xid/TagsDataByIndex.java
Normal file
|
@ -0,0 +1,46 @@
|
|||
package xid;
|
||||
|
||||
import java.util.*;
|
||||
import java.io.*;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
public class TagsDataByIndex extends Vector<TagDataCore> implements TagDataCore
|
||||
{
|
||||
public enum IterationStrategy {ONLY_FIRST_ROW, ONLY_ROW_WITH_ID, ONLY_ROW_WITHOU_ID, ALL_ROWS}
|
||||
|
||||
protected IterationStrategy iterationStrategy;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public TagsDataByIndex ()
|
||||
{
|
||||
super ();
|
||||
this.iterationStrategy = IterationStrategy.ONLY_FIRST_ROW;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public void setIterationStrategy (IterationStrategy strategy)
|
||||
{
|
||||
this.iterationStrategy = strategy;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public IterationStrategy setIterationStrategy ()
|
||||
{
|
||||
IterationStrategy result;
|
||||
|
||||
result = this.iterationStrategy;
|
||||
|
||||
//
|
||||
return (result);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue