Thursday, 15 February 2018

Skip Copy Field Method

This method is used to skip certain attributes on duplication.

@Override
protected boolean skipCopyField(MboValueInfo arg0) throws RemoteException,
MXException {
// TODO Auto-generated method stub
boolean b=super.skipCopyField(arg0);
String attributeName=arg0.getAttributeName();
for (int i = 0; i < dup.length; i++) {
if(dup[i].equalsIgnoreCase(attributeName))
return true;
}

return b;


}

No comments:

Post a Comment