Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract JCR-agnostic resource interfaces out of FedoraResource/Datastream #477

Closed
wants to merge 2 commits into from

Conversation

cbeer
Copy link
Contributor

@cbeer cbeer commented Sep 16, 2014

No description provided.

* @since 9/16/14
*/
public interface BinarySource<T, V> extends Resource<T> {
/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's V here? It's something that isn't an InputStream... is it typically going to be a JCR Binary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Likely overkill to avoid JCR in the interface.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine with me-- just maybe we should explain the diff between getContent() and getBinaryContent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope one or both will be going away.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also running out of things to call these classes/interfaces that don't conflict with other things we're using, so naming suggestions are welcome.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see. What's generic enough to be useful?

  • Thing
  • Piece
  • SliceOfTheWorld
  • BasketOfOntologicalClaims
  • Whatchamacallit
  • Thingamabob
  • ...

Useful?

@cbeer cbeer force-pushed the getTriples branch 3 times, most recently from 8038c06 to b599d77 Compare September 18, 2014 22:51
@cbeer cbeer closed this Sep 19, 2014
@cbeer cbeer deleted the resource-interfaces branch October 17, 2014 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants