Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

[cleanup] Refactore the methods in 'FXMLModel'. #64

Closed
Naoghuman opened this issue Mar 12, 2019 · 0 comments
Closed

[cleanup] Refactore the methods in 'FXMLModel'. #64

Naoghuman opened this issue Mar 12, 2019 · 0 comments
Labels
refactoring Rewrite the existing code.

Comments

@Naoghuman
Copy link
Owner

Naoghuman commented Mar 12, 2019

[cleanup] Refactore the methods in 'FXMLModel'.

  • New method: isSameEntity(Class entity, Long entityId)
  • New method: isSameEntity(Class entity, Long entityId, String type)
  • New method: setEntity(Class entity, Long entityId)
  • New method: setEntity(Class entity, Long entityId, String type)
  • New Method: getEntityType(): Optional'String'
  • Rename: get(Class, String) to getData(Class, String)
  • Rename: getAll() to getAllData()
  • Rename: put(...) to putData(...)
  • Extend: toString()
@Naoghuman Naoghuman added the refactoring Rewrite the existing code. label Mar 12, 2019
@Naoghuman Naoghuman added this to the v0.3.0-PRERELEASE milestone Mar 12, 2019
@Naoghuman Naoghuman changed the title [cleanup] Merge 'isSameEntityXy(...)' methods to one. [cleanup] Refactore the methods in 'FXMLModel'. Mar 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactoring Rewrite the existing code.
Projects
None yet
Development

No branches or pull requests

1 participant