org.lexgrid.loader.data.property
Class PrefixedSequentialIdSetter

java.lang.Object
  extended by org.lexgrid.loader.data.property.PrefixedSequentialIdSetter
All Implemented Interfaces:
ListIdSetter<Property>

public class PrefixedSequentialIdSetter
extends java.lang.Object
implements ListIdSetter<Property>

The Class PrefixedSequentialIdSetter.

Author:
Kevin Peterson

Constructor Summary
PrefixedSequentialIdSetter()
           
 
Method Summary
 void addIds(java.util.List<Property> items)
          Adds the ids.
 java.lang.String getPrefix()
          Gets the prefix.
 void setPrefix(java.lang.String prefix)
          Sets the prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefixedSequentialIdSetter

public PrefixedSequentialIdSetter()
Method Detail

addIds

public void addIds(java.util.List<Property> items)
Description copied from interface: ListIdSetter
Adds the ids.

Specified by:
addIds in interface ListIdSetter<Property>
Parameters:
items - the idables

getPrefix

public java.lang.String getPrefix()
Gets the prefix.

Returns:
the prefix

setPrefix

public void setPrefix(java.lang.String prefix)
Sets the prefix.

Parameters:
prefix - the new prefix

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.