/*************************************************************************************
* Product: SFAndroid (Sales Force Mobile) *
* This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* Copyright (C) 2012-2014 E.R.P. Consultores y Asociados, S.A. All Rights Reserved. *
* Contributor(s): Yamel Senih www.erpconsultoresyasociados.com *
*************************************************************************************/
package org.spinsuite.model;
import org.spinsuite.base.DB;
import android.content.Context;
import android.database.Cursor;
/**
* @author <a href="mailto:yamelsenih@gmail.com">Yamel Senih</a>
*
*/
public class MSFAField extends X_SFA_Field {
/**
* *** Constructor ***
* @author <a href="mailto:yamelsenih@gmail.com">Yamel Senih</a> 18/02/2014, 01:10:56
* @param ctx
* @param SFA_Field_ID
* @param conn
*/
public MSFAField(Context ctx, int SFA_Field_ID, DB conn) {
super(ctx, SFA_Field_ID, conn);
}
/**
* *** Constructor ***
* @author <a href="mailto:yamelsenih@gmail.com">Yamel Senih</a> 18/02/2014, 01:10:56
* @param ctx
* @param rs
* @param conn
*/
public MSFAField(Context ctx, Cursor rs, DB conn) {
super(ctx, rs, conn);
}
@Override
public String toString() {
return "Name=" + getName()
+ "\nSFA_Column_ID=" + getSFA_Column_ID()
+ "\nDisplayed=" + isDisplayed();
}
}