com.partnersoft.modules.inspection.data
Class CsvSubtypeItem

java.lang.Object
  extended by com.partnersoft.modules.inspection.data.CsvSubtypeItem
All Implemented Interfaces:
CsvDataItem

public class CsvSubtypeItem
extends java.lang.Object
implements CsvDataItem


Constructor Summary
CsvSubtypeItem(java.lang.String type, boolean show)
           
 
Method Summary
 java.util.List<java.lang.String> getCsvFieldNames()
          Returns a list of csv field names in order.
 java.lang.String getType()
           
 boolean isShow()
           
 void setShow(boolean show)
           
 void setType(java.lang.String type)
           
 java.util.List<com.partnersoft.data.Naming> toCsvNamingEntry()
          Converts object's current state to csv entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvSubtypeItem

public CsvSubtypeItem(java.lang.String type,
                      boolean show)
Method Detail

getCsvFieldNames

public java.util.List<java.lang.String> getCsvFieldNames()
Description copied from interface: CsvDataItem
Returns a list of csv field names in order.

Specified by:
getCsvFieldNames in interface CsvDataItem
Returns:

toCsvNamingEntry

public java.util.List<com.partnersoft.data.Naming> toCsvNamingEntry()
Description copied from interface: CsvDataItem
Converts object's current state to csv entry.

List of Namings is returned if object requires multiple lines to be expressed and user wants to alter specific values.

Specified by:
toCsvNamingEntry in interface CsvDataItem
Returns:

getType

public java.lang.String getType()
Returns:
the type

setType

public void setType(java.lang.String type)
Parameters:
type - the type to set

isShow

public boolean isShow()
Returns:
the show

setShow

public void setShow(boolean show)
Parameters:
show - the show to set