de.greenrobot.daogenerator.Entity.implementsSerializable()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.7k)|赞(0)|评价(0)|浏览(105)

本文整理了Java中de.greenrobot.daogenerator.Entity.implementsSerializable()方法的一些代码示例,展示了Entity.implementsSerializable()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Entity.implementsSerializable()方法的具体详情如下:
包路径:de.greenrobot.daogenerator.Entity
类名称:Entity
方法名:implementsSerializable

Entity.implementsSerializable介绍

暂无

代码示例

代码示例来源:origin: andforce/iBeebo

private static void addAtUsersTable(Schema schema) {
  Entity table = schema.addEntity("Green_AtUsersBean");
  table.setHasKeepSections(true);
  table.setTableName(AtUsersTable.TABLE_NAME);
  table.implementsSerializable();
  table.addStringProperty(AtUsersTable.ACCOUNTID);
  table.addStringProperty(AtUsersTable.AT_USERID);
  table.addStringProperty(AtUsersTable.AT_USER_INFO_JSON);
}

代码示例来源:origin: andforce/iBeebo

private static void addStatusTable(Schema schema) {
  Entity table = schema.addEntity("Green_TimeLineStatus");
  table.setHasKeepSections(true);
  table.setTableName(TimeLineStatusTable.TABLE_NAME);
  table.implementsSerializable();
  table.addIntProperty(TimeLineStatusTable.ID);
  table.addStringProperty(TimeLineStatusTable.ACCOUNTID);
  table.addStringProperty(TimeLineStatusTable.MBLOGID);
  table.addStringProperty(TimeLineStatusTable.JSONDATA);
}

代码示例来源:origin: ghbhaha/MyWeather

private static void addAlarms(Schema schema) {
  Entity weekForeCast = schema.addEntity("Alarms");
  weekForeCast.implementsSerializable();
  weekForeCast.addStringProperty("alarmContent");
  weekForeCast.addStringProperty("alarmId");
  weekForeCast.addStringProperty("alarmLevelNo");
  weekForeCast.addStringProperty("alarmLevelNoDesc");
  weekForeCast.addStringProperty("alarmType");
  weekForeCast.addStringProperty("alarmTypeDesc");
  weekForeCast.addStringProperty("publishTime");
  weekForeCast.addStringProperty("areaid");
  weekForeCast.addStringProperty("areaName");
}

代码示例来源:origin: andforce/iBeebo

private static void addAccountTable(Schema schema) {
  Entity table = schema.addEntity("Green_AccountBean");
  table.setHasKeepSections(true);
  table.setTableName(AccountTable.ACCOUNT_TABLE);
  table.implementsSerializable();
  table.addLongProperty(AccountTable.UID).primaryKey();
  table.addStringProperty(AccountTable.USER_NAME);
  table.addStringProperty(AccountTable.USER_PWD);
  table.addStringProperty(AccountTable.COOKIE);
  table.addStringProperty(AccountTable.OAUTH_TOKEN);
  table.addLongProperty(AccountTable.OAUTH_TOKEN_EXPIRES_TIME);
  table.addStringProperty(AccountTable.ACCESS_TOKEN_HACK);
  table.addLongProperty(AccountTable.ACCESS_TOKEN_HACK_EXPIRES_TIME);
  table.addStringProperty(AccountTable.G_SID);
  table.addIntProperty(AccountTable.NAVIGATION_POSITION);
  table.addStringProperty(AccountTable.USER_INFO_JSON);
}

相关文章