You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
619 B

@startuml
class cc.liuyx.note.db.CRUD {
~ SQLiteOpenHelper dbHandler
~ SQLiteDatabase db
- {static} String[] columns
+ void open()
+ void close()
+ void addNote(Note)
+ Note getNote(long)
+ List<Note> getAllNotes()
+ void updateNote(Note)
+ void removeNote(Note)
}
class cc.liuyx.note.db.NoteDatabase {
+ {static} String TABLE_NAME
+ {static} String CONTENT
+ {static} String ID
+ {static} String TIME
+ {static} String MODE
+ void onCreate(SQLiteDatabase)
+ void onUpgrade(SQLiteDatabase,int,int)
- void updateMode(SQLiteDatabase)
}
android.database.sqlite.SQLiteOpenHelper <|-- cc.liuyx.note.db.NoteDatabase
@enduml