@ -92,9 +92,10 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
{ "otf" , Types . BOOLEAN } ,
{ "otf" , Types . BOOLEAN } ,
{ "otfCreateDate" , Types . TIMESTAMP } ,
{ "otfCreateDate" , Types . TIMESTAMP } ,
{ "emailPending" , Types . BOOLEAN } ,
{ "emailPending" , Types . BOOLEAN } ,
{ "numeroBollettino" , Types . VARCHAR } ,
{ "oldPagamentoId" , Types . BIGINT }
{ "oldPagamentoId" , Types . BIGINT }
} ;
} ;
public static final String TABLE_SQL_CREATE = "create table portos_bo_Pagamento (uuid_ VARCHAR(75) null,pagamentoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,classPk LONG,className VARCHAR(75) null,fileEntryId LONG,oldFileEntryId LONG,tipoPagamento VARCHAR(75) null,url STRING null,codice VARCHAR(75) null,causale VARCHAR(75) null,mezzo VARCHAR(75) null,codiceFiscaleCommittente VARCHAR(75) null,importo VARCHAR(75) null,utilizzata VARCHAR(75) null,utilizzataSostituita VARCHAR(75) null,otf BOOLEAN,otfCreateDate DATE null,emailPending BOOLEAN,oldPagamentoId LONG)" ;
public static final String TABLE_SQL_CREATE = "create table portos_bo_Pagamento (uuid_ VARCHAR(75) null,pagamentoId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,groupId LONG,intPraticaId LONG,classPk LONG,className VARCHAR(75) null,fileEntryId LONG,oldFileEntryId LONG,tipoPagamento VARCHAR(75) null,url STRING null,codice VARCHAR(75) null,causale VARCHAR(75) null,mezzo VARCHAR(75) null,codiceFiscaleCommittente VARCHAR(75) null,importo VARCHAR(75) null,utilizzata VARCHAR(75) null,utilizzataSostituita VARCHAR(75) null,otf BOOLEAN,otfCreateDate DATE null,emailPending BOOLEAN,numeroBollettino VARCHAR(250) null, oldPagamentoId LONG)" ;
public static final String TABLE_SQL_DROP = "drop table portos_bo_Pagamento" ;
public static final String TABLE_SQL_DROP = "drop table portos_bo_Pagamento" ;
public static final String ORDER_BY_JPQL = " ORDER BY pagamento.pagamentoId ASC" ;
public static final String ORDER_BY_JPQL = " ORDER BY pagamento.pagamentoId ASC" ;
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_Pagamento.pagamentoId ASC" ;
public static final String ORDER_BY_SQL = " ORDER BY portos_bo_Pagamento.pagamentoId ASC" ;
@ -160,6 +161,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
model . setOtf ( soapModel . getOtf ( ) ) ;
model . setOtf ( soapModel . getOtf ( ) ) ;
model . setOtfCreateDate ( soapModel . getOtfCreateDate ( ) ) ;
model . setOtfCreateDate ( soapModel . getOtfCreateDate ( ) ) ;
model . setEmailPending ( soapModel . getEmailPending ( ) ) ;
model . setEmailPending ( soapModel . getEmailPending ( ) ) ;
model . setNumeroBollettino ( soapModel . getNumeroBollettino ( ) ) ;
model . setOldPagamentoId ( soapModel . getOldPagamentoId ( ) ) ;
model . setOldPagamentoId ( soapModel . getOldPagamentoId ( ) ) ;
return model ;
return model ;
@ -250,6 +252,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
attributes . put ( "otf" , getOtf ( ) ) ;
attributes . put ( "otf" , getOtf ( ) ) ;
attributes . put ( "otfCreateDate" , getOtfCreateDate ( ) ) ;
attributes . put ( "otfCreateDate" , getOtfCreateDate ( ) ) ;
attributes . put ( "emailPending" , getEmailPending ( ) ) ;
attributes . put ( "emailPending" , getEmailPending ( ) ) ;
attributes . put ( "numeroBollettino" , getNumeroBollettino ( ) ) ;
attributes . put ( "oldPagamentoId" , getOldPagamentoId ( ) ) ;
attributes . put ( "oldPagamentoId" , getOldPagamentoId ( ) ) ;
return attributes ;
return attributes ;
@ -409,6 +412,12 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
setEmailPending ( emailPending ) ;
setEmailPending ( emailPending ) ;
}
}
String numeroBollettino = ( String ) attributes . get ( "numeroBollettino" ) ;
if ( numeroBollettino ! = null ) {
setNumeroBollettino ( numeroBollettino ) ;
}
Long oldPagamentoId = ( Long ) attributes . get ( "oldPagamentoId" ) ;
Long oldPagamentoId = ( Long ) attributes . get ( "oldPagamentoId" ) ;
if ( oldPagamentoId ! = null ) {
if ( oldPagamentoId ! = null ) {
@ -869,6 +878,22 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
return _originalEmailPending ;
return _originalEmailPending ;
}
}
@JSON
@Override
public String getNumeroBollettino ( ) {
if ( _numeroBollettino = = null ) {
return StringPool . BLANK ;
}
else {
return _numeroBollettino ;
}
}
@Override
public void setNumeroBollettino ( String numeroBollettino ) {
_numeroBollettino = numeroBollettino ;
}
@JSON
@JSON
@Override
@Override
public long getOldPagamentoId ( ) {
public long getOldPagamentoId ( ) {
@ -954,6 +979,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
pagamentoImpl . setOtf ( getOtf ( ) ) ;
pagamentoImpl . setOtf ( getOtf ( ) ) ;
pagamentoImpl . setOtfCreateDate ( getOtfCreateDate ( ) ) ;
pagamentoImpl . setOtfCreateDate ( getOtfCreateDate ( ) ) ;
pagamentoImpl . setEmailPending ( getEmailPending ( ) ) ;
pagamentoImpl . setEmailPending ( getEmailPending ( ) ) ;
pagamentoImpl . setNumeroBollettino ( getNumeroBollettino ( ) ) ;
pagamentoImpl . setOldPagamentoId ( getOldPagamentoId ( ) ) ;
pagamentoImpl . setOldPagamentoId ( getOldPagamentoId ( ) ) ;
pagamentoImpl . resetOriginalValues ( ) ;
pagamentoImpl . resetOriginalValues ( ) ;
@ -1191,6 +1217,14 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
pagamentoCacheModel . emailPending = getEmailPending ( ) ;
pagamentoCacheModel . emailPending = getEmailPending ( ) ;
pagamentoCacheModel . numeroBollettino = getNumeroBollettino ( ) ;
String numeroBollettino = pagamentoCacheModel . numeroBollettino ;
if ( ( numeroBollettino ! = null ) & & ( numeroBollettino . length ( ) = = 0 ) ) {
pagamentoCacheModel . numeroBollettino = null ;
}
pagamentoCacheModel . oldPagamentoId = getOldPagamentoId ( ) ;
pagamentoCacheModel . oldPagamentoId = getOldPagamentoId ( ) ;
return pagamentoCacheModel ;
return pagamentoCacheModel ;
@ -1198,7 +1232,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
@Override
@Override
public String toString ( ) {
public String toString ( ) {
StringBundler sb = new StringBundler ( 53 ) ;
StringBundler sb = new StringBundler ( 55 ) ;
sb . append ( "{uuid=" ) ;
sb . append ( "{uuid=" ) ;
sb . append ( getUuid ( ) ) ;
sb . append ( getUuid ( ) ) ;
@ -1250,6 +1284,8 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
sb . append ( getOtfCreateDate ( ) ) ;
sb . append ( getOtfCreateDate ( ) ) ;
sb . append ( ", emailPending=" ) ;
sb . append ( ", emailPending=" ) ;
sb . append ( getEmailPending ( ) ) ;
sb . append ( getEmailPending ( ) ) ;
sb . append ( ", numeroBollettino=" ) ;
sb . append ( getNumeroBollettino ( ) ) ;
sb . append ( ", oldPagamentoId=" ) ;
sb . append ( ", oldPagamentoId=" ) ;
sb . append ( getOldPagamentoId ( ) ) ;
sb . append ( getOldPagamentoId ( ) ) ;
sb . append ( "}" ) ;
sb . append ( "}" ) ;
@ -1259,7 +1295,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
@Override
@Override
public String toXmlString ( ) {
public String toXmlString ( ) {
StringBundler sb = new StringBundler ( 82 ) ;
StringBundler sb = new StringBundler ( 85 ) ;
sb . append ( "<model><model-name>" ) ;
sb . append ( "<model><model-name>" ) ;
sb . append ( "it.tref.liferay.portos.bo.model.Pagamento" ) ;
sb . append ( "it.tref.liferay.portos.bo.model.Pagamento" ) ;
@ -1365,6 +1401,10 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
"<column><column-name>emailPending</column-name><column-value><![CDATA[" ) ;
"<column><column-name>emailPending</column-name><column-value><![CDATA[" ) ;
sb . append ( getEmailPending ( ) ) ;
sb . append ( getEmailPending ( ) ) ;
sb . append ( "]]></column-value></column>" ) ;
sb . append ( "]]></column-value></column>" ) ;
sb . append (
"<column><column-name>numeroBollettino</column-name><column-value><![CDATA[" ) ;
sb . append ( getNumeroBollettino ( ) ) ;
sb . append ( "]]></column-value></column>" ) ;
sb . append (
sb . append (
"<column><column-name>oldPagamentoId</column-name><column-value><![CDATA[" ) ;
"<column><column-name>oldPagamentoId</column-name><column-value><![CDATA[" ) ;
sb . append ( getOldPagamentoId ( ) ) ;
sb . append ( getOldPagamentoId ( ) ) ;
@ -1419,6 +1459,7 @@ public class PagamentoModelImpl extends BaseModelImpl<Pagamento>
private boolean _emailPending ;
private boolean _emailPending ;
private boolean _originalEmailPending ;
private boolean _originalEmailPending ;
private boolean _setOriginalEmailPending ;
private boolean _setOriginalEmailPending ;
private String _numeroBollettino ;
private long _oldPagamentoId ;
private long _oldPagamentoId ;
private long _originalOldPagamentoId ;
private long _originalOldPagamentoId ;
private boolean _setOriginalOldPagamentoId ;
private boolean _setOriginalOldPagamentoId ;