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
added label to FedoraObject #28
Conversation
* @return A label associated with this object. Normally stored in a String-valued dc:title property. | ||
* @throws RepositoryException | ||
*/ | ||
public String getLabel() throws RepositoryException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe FedoraObject and Datastream should inherit from a base class that provides label-fetching methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed
That would a hypothetical FedoraResource? (Matching the JCR types.) |
Repository repo; | ||
|
||
@Test | ||
public void testLabel() throws RepositoryException, IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also have a test showing what happens when you set the label, and then set the label again?
Indeed, a FedoraResource. |
…ed test cases for it, are you happy chris? ARE YOU?
Link to Quick Start with WebAC guide on the wiki.
No description provided.