本文整理了Java中org.jbundle.base.db.Record.getRecordOwner
方法的一些代码示例,展示了Record.getRecordOwner
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.getRecordOwner
方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称:Record
方法名:getRecordOwner
[英]Get the recordowner.
[中]去找录音所有者。
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Get the record owner of the record to sync.
*/
public RecordOwner getRecordOwner()
{
if (m_recordToSync != null)
return m_recordToSync.getRecordOwner();
return m_recordOwner;
}
}
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Get the record owner of the record to sync.
*/
public RecordOwner getRecordOwner()
{
if (m_recordToSync != null)
return m_recordToSync.getRecordOwner();
return m_recordOwner;
}
}
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Get the screen.
* @return The recordowner if it is a screen.
*/
public BaseScreen getScreen()
{
if (this.getRecordOwner() instanceof BaseScreen)
return (BaseScreen)this.getRecordOwner();
else
return null;
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Get the screen.
* @return The recordowner if it is a screen.
*/
public BaseScreen getScreen()
{
if (this.getRecordOwner() instanceof BaseScreen)
return (BaseScreen)this.getRecordOwner();
else
return null;
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* GetCalendarControl Method.
*/
public CalendarControl getCalendarControl()
{
if (m_recCalendarControl == null)
m_recCalendarControl = new CalendarControl(this.getOwner().getRecordOwner());
return m_recCalendarControl;
}
代码示例来源:origin: com.tourgeek.tour/com.tourgeek.tour.acctpay.screen
/**
* SetEnabled Method.
*/
public void setEnabled(boolean bEnable)
{
BasePanel screen = (BasePanel)this.getOwner().getRecordOwner();
screen.setEnabled(bEnable);
}
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* GetAnniversary Method.
*/
public Anniversary getAnniversary()
{
if (m_recAnniversary == null)
m_recAnniversary = new Anniversary(this.getOwner().getRecordOwner());
return m_recAnniversary;
}
/**
代码示例来源:origin: com.tourgeek.tour/com.tourgeek.tour.acctpay.screen
/**
* Get the Debit Account field.
* @return The debit account field.
*/
public ReferenceField getDrAccount()
{
return (ReferenceField)this.getOwner().getRecordOwner().getScreenRecord().getField(DebitMemoScreenRecord.PP_ACCOUNT_ID);
}
/**
代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.acctpay.screen
/**
* Get the Credit Account field.
* @return The credit account field.
*/
public ReferenceField getCrAccount()
{
return (ReferenceField)this.getOwner().getRecordOwner().getScreenRecord().getField(InvoiceScreenRecord.AP_ACCOUNT_ID);
}
/**
代码示例来源:origin: com.tourgeek.tour/com.tourgeek.tour.acctpay.air
/**
* Get the Credit Account field.
* @return The credit account field.
*/
public ReferenceField getCrAccount()
{
return (ReferenceField)this.getOwner().getRecordOwner().getRecord(ApControl.AP_CONTROL_FILE).getField(ApControl.OVERRIDE_REC_ACCOUNT_ID);
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
private String getKeystoreLocation()
{
String keystore = null;
if (this.getField() != null)
if (((BaseField)this.getField()).getRecord().getRecordOwner() != null)
keystore = ((BaseField)this.getField()).getRecord().getRecordOwner().getProperty("keystoreLocation");
if (keystore == null)
keystore = "/usr/local/java/jdk/jre/lib/security/keystore"; // For now
return keystore;
}
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
private String getKeystoreLocation()
{
String keystore = null;
if (this.getField() != null)
if (((BaseField)this.getField()).getRecord().getRecordOwner() != null)
keystore = ((BaseField)this.getField()).getRecord().getRecordOwner().getProperty("keystoreLocation");
if (keystore == null)
keystore = "/usr/local/java/jdk/jre/lib/security/keystore"; // For now
return keystore;
}
代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.acctrec.screen
/**
* Get the detail record (dist's header) for this record.
*/
public Record getDetailRecord()
{
return (Record)((BaseField)this.getField()).getRecord().getRecordOwner().getRecord(Mco.MCO_FILE);
}
/**
代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.acctrec.screen
/**
* Get the detail record (dist's header) for this record.
*/
public Record getDetailRecord()
{
return (Record)((BaseField)this.getField()).getRecord().getRecordOwner().getRecord(CreditCard.CREDIT_CARD_FILE);
}
/**
代码示例来源:origin: com.tourgeek.tour/com.tourgeek.tour.acctpay.air
/**
* Get the Credit Account field.
* @return The credit account field.
*/
public ReferenceField getCrAccount()
{
return (ReferenceField)this.getOwner().getRecordOwner().getScreenRecord().getField(ArcReportScreenRecord.SUMMARY_ACCOUNT_ID);
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
private String getKeystoreLocation()
{
String keystore = null;
if (this.getField() != null)
if (((BaseField)this.getField()).getRecord().getRecordOwner() != null)
keystore = ((BaseField)this.getField()).getRecord().getRecordOwner().getProperty("keystoreLocation");
if (keystore == null)
keystore = "/usr/local/java/jdk/jre/lib/security/keystore"; // For now
return keystore;
}
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Save the current value of this field to the registration database.
*/
public void saveValue()
{
BaseField field = this.getOwner();
RecordOwner recordOwner = field.getRecord().getRecordOwner();
if (recordOwner instanceof BasePanel)
this.saveValue((BasePanel)recordOwner);
}
/**
代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.booking.entry
/**
* Add button(s) to the toolbar.
*/
public void addToolbarButtons(ToolScreen toolScreen)
{
super.addToolbarButtons(toolScreen);
ResourceBundle resources = ((BaseApplication)this.getTask().getApplication()).getResources(ResourceConstants.BOOKING_RESOURCE, true);
BaseField field = ((Record)this.getRecord(Booking.BOOKING_FILE).getRecordOwner().getScreenRecord()).getField(BookingScreenRecord.BK_SUB_SCREEN);
new SCannedBox(toolScreen.getNextLocation(ScreenConstants.RIGHT_OF_LAST, ScreenConstants.DONT_SET_ANCHOR), toolScreen, field, ScreenConstants.DEFAULT_DISPLAY, null, resources.getString(ProductType.AIR), Booking.BUTTON_LOCATION + ProductType.AIR, Integer.toString(BookingScreenHandler.AIR_SCREEN), resources.getString(ProductType.AIR + "Tip"));
}
/**
代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.booking.entry
/**
* Add button(s) to the toolbar.
*/
public void addToolbarButtons(ToolScreen toolScreen)
{
super.addToolbarButtons(toolScreen);
ResourceBundle resources = ((BaseApplication)this.getTask().getApplication()).getResources(ResourceConstants.BOOKING_RESOURCE, true);
BaseField field = ((Record)this.getRecord(Booking.BOOKING_FILE).getRecordOwner().getScreenRecord()).getField(BookingScreenRecord.BK_SUB_SCREEN);
new SCannedBox(toolScreen.getNextLocation(ScreenConstants.RIGHT_OF_LAST, ScreenConstants.DONT_SET_ANCHOR), toolScreen, field, ScreenConstants.DEFAULT_DISPLAY, null, resources.getString(ProductType.AIR + "Header"), Booking.BUTTON_LOCATION + ProductType.AIR + "Header", Integer.toString(BookingScreenHandler.AIR_HEADER_SCREEN), resources.getString(ProductType.AIR + "HeaderTip"));
}
/**
代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.booking.entry
/**
* Add button(s) to the toolbar.
*/
public void addToolbarButtons(ToolScreen toolScreen)
{
super.addToolbarButtons(toolScreen);
ResourceBundle resources = ((BaseApplication)this.getTask().getApplication()).getResources(ResourceConstants.BOOKING_RESOURCE, true);
BaseField field = ((Record)this.getRecord(Booking.BOOKING_FILE).getRecordOwner().getScreenRecord()).getField(BookingScreenRecord.BK_SUB_SCREEN);
new SCannedBox(toolScreen.getNextLocation(ScreenConstants.RIGHT_OF_LAST, ScreenConstants.DONT_SET_ANCHOR), toolScreen, field, ScreenConstants.DEFAULT_DISPLAY, null, resources.getString(ProductType.AIR + "Header"), Booking.BUTTON_LOCATION + ProductType.AIR + "Header", Integer.toString(BookingScreenHandler.AIR_HEADER_SCREEN), resources.getString(ProductType.AIR + "HeaderTip"));
}
/**
内容来源于网络,如有侵权,请联系作者删除!