Skip to content

Commit 04f04a8

Browse files
authored
Add jpv3 readme (#271)
1 parent 6e17293 commit 04f04a8

File tree

1 file changed

+0
-251
lines changed
  • src/main/java/info/freelibrary/iiif/presentation/v3/utils/csv

1 file changed

+0
-251
lines changed

src/main/java/info/freelibrary/iiif/presentation/v3/utils/csv/Row.java

Lines changed: 0 additions & 251 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,9 @@ public final class Row {
9191
/** The item's alternative title. */
9292
private String myAltTitleOther;
9393

94-
/** The item's IDEP publication status. */
95-
private String myIdepPubStatus;
96-
9794
/** The item's visibility. */
9895
private String myVisibility;
9996

100-
/** The item's date created. */
101-
private String myDateCreated;
102-
103-
/** The item's date normalized. */
104-
private String myDateNormalized;
105-
10697
/** The item's format extent. */
10798
private String myFormatExtent;
10899

@@ -130,12 +121,6 @@ public final class Row {
130121
/** The item's language. */
131122
private String myLanguage;
132123

133-
/** The item's local ID. */
134-
private String myLocalID;
135-
136-
/** The item's OPAC URL. */
137-
private String myOpacURL;
138-
139124
/** The item's place of origin. */
140125
private String myPlaceOfOrigin;
141126

@@ -163,21 +148,6 @@ public final class Row {
163148
/** The item's creator. */
164149
private String myCreator;
165150

166-
/** The item's producer. */
167-
private String myProducer;
168-
169-
/** The item's head of information. */
170-
private String myHeadOfInfo;
171-
172-
/** The item's administrator. */
173-
private String myAdministrator;
174-
175-
/** The item's proprietor. */
176-
private String myProprietor;
177-
178-
/** The item's contributor. */
179-
private String myContributor;
180-
181151
/** The item's publisher. */
182152
private String myPublisher;
183153

@@ -402,28 +372,6 @@ public Row setAltTitleOther(final String aAltTitleOther) {
402372
return this;
403373
}
404374

405-
/**
406-
* Gets the optional IDEP publication status.
407-
*
408-
* @return An Optional containing the IDEP publication status if set; otherwise, an empty Optional
409-
*/
410-
@JsonGetter(Keys.IDEP_PUBLISHED)
411-
public Optional<String> getIdepPubStatus() {
412-
return myIdepPubStatus == null || myIdepPubStatus.isBlank() ? Optional.empty() : Optional.of(myIdepPubStatus);
413-
}
414-
415-
/**
416-
* Sets the optional IDEP publication status.
417-
*
418-
* @param aIdepPubStatus The IDEP publication status to set
419-
* @return This Row instance for fluent chaining
420-
*/
421-
@JsonSetter(Keys.IDEP_PUBLISHED)
422-
public Row setIdepPubStatus(final String aIdepPubStatus) {
423-
myIdepPubStatus = aIdepPubStatus;
424-
return this;
425-
}
426-
427375
/**
428376
* Gets the optional visibility.
429377
*
@@ -446,51 +394,6 @@ public Row setVisibility(final String aVisibility) {
446394
return this;
447395
}
448396

449-
/**
450-
* Gets the optional date created.
451-
*
452-
* @return An Optional containing the date created if set; otherwise, an empty Optional
453-
*/
454-
@JsonGetter(Keys.CREATED_DATE)
455-
public Optional<String> getDateCreated() {
456-
return myDateCreated == null || myDateCreated.isBlank() ? Optional.empty() : Optional.of(myDateCreated);
457-
}
458-
459-
/**
460-
* Sets the optional date created.
461-
*
462-
* @param aDateCreated The date created to set
463-
* @return This Row instance for fluent chaining
464-
*/
465-
@JsonSetter(Keys.CREATED_DATE)
466-
public Row setDateCreated(final String aDateCreated) {
467-
myDateCreated = aDateCreated;
468-
return this;
469-
}
470-
471-
/**
472-
* Gets the optional date normalized.
473-
*
474-
* @return An Optional containing the date normalized if set; otherwise, an empty Optional
475-
*/
476-
@JsonGetter(Keys.NORMALIZED_DATE)
477-
public Optional<String> getDateNormalized() {
478-
return myDateNormalized == null || myDateNormalized.isBlank() ? Optional.empty()
479-
: Optional.of(myDateNormalized);
480-
}
481-
482-
/**
483-
* Sets the optional date normalized.
484-
*
485-
* @param aDateNormalized The date normalized to set
486-
* @return This Row instance for fluent chaining
487-
*/
488-
@JsonSetter(Keys.NORMALIZED_DATE)
489-
public Row setDateNormalized(final String aDateNormalized) {
490-
myDateNormalized = aDateNormalized;
491-
return this;
492-
}
493-
494397
/**
495398
* Gets the optional copyright status.
496399
*
@@ -692,50 +595,6 @@ public Row setCreator(final String aCreator) {
692595
return this;
693596
}
694597

695-
/**
696-
* Gets the optional producer.
697-
*
698-
* @return An Optional containing the producer if set; otherwise, an empty Optional
699-
*/
700-
@JsonGetter(Keys.PRODUCER)
701-
public Optional<String> getProducer() {
702-
return myProducer == null || myProducer.isBlank() ? Optional.empty() : Optional.of(myProducer);
703-
}
704-
705-
/**
706-
* Sets the optional producer.
707-
*
708-
* @param aProducer The producer to set
709-
* @return This Row instance for fluent chaining
710-
*/
711-
@JsonSetter(Keys.PRODUCER)
712-
public Row setProducer(final String aProducer) {
713-
myProducer = aProducer;
714-
return this;
715-
}
716-
717-
/**
718-
* Gets the optional head of information.
719-
*
720-
* @return An Optional containing the head of information if set; otherwise, an empty Optional
721-
*/
722-
@JsonGetter(Keys.HEAD_OF_INFORMATION)
723-
public Optional<String> getHeadOfInformation() {
724-
return myHeadOfInfo == null || myHeadOfInfo.isBlank() ? Optional.empty() : Optional.of(myHeadOfInfo);
725-
}
726-
727-
/**
728-
* Sets the optional head of information.
729-
*
730-
* @param aHeadOfInfo The head of information to set
731-
* @return This Row instance for fluent chaining
732-
*/
733-
@JsonSetter(Keys.HEAD_OF_INFORMATION)
734-
public Row setHeadOfInformation(final String aHeadOfInfo) {
735-
myHeadOfInfo = aHeadOfInfo;
736-
return this;
737-
}
738-
739598
/**
740599
* Gets the optional director.
741600
*
@@ -758,72 +617,6 @@ public Row setDirector(final String aDirector) {
758617
return this;
759618
}
760619

761-
/**
762-
* Gets the optional administrator.
763-
*
764-
* @return An Optional containing the administrator if set; otherwise, an empty Optional
765-
*/
766-
@JsonGetter(Keys.ADMINISTRATOR)
767-
public Optional<String> getAdministrator() {
768-
return myAdministrator == null || myAdministrator.isBlank() ? Optional.empty() : Optional.of(myAdministrator);
769-
}
770-
771-
/**
772-
* Sets the optional administrator.
773-
*
774-
* @param aAdministrator The administrator to set
775-
* @return This Row instance for fluent chaining
776-
*/
777-
@JsonSetter(Keys.ADMINISTRATOR)
778-
public Row setAdministrator(final String aAdministrator) {
779-
myAdministrator = aAdministrator;
780-
return this;
781-
}
782-
783-
/**
784-
* Gets the optional proprietor.
785-
*
786-
* @return An Optional containing the proprietor if set; otherwise, an empty Optional
787-
*/
788-
@JsonGetter(Keys.PROPRIETOR)
789-
public Optional<String> getProprietor() {
790-
return myProprietor == null || myProprietor.isBlank() ? Optional.empty() : Optional.of(myProprietor);
791-
}
792-
793-
/**
794-
* Sets the optional proprietor.
795-
*
796-
* @param aProprietor The proprietor to set
797-
* @return This Row instance for fluent chaining
798-
*/
799-
@JsonSetter(Keys.PROPRIETOR)
800-
public Row setProprietor(final String aProprietor) {
801-
myProprietor = aProprietor;
802-
return this;
803-
}
804-
805-
/**
806-
* Gets the optional contributor.
807-
*
808-
* @return An Optional containing the contributor if set; otherwise, an empty Optional
809-
*/
810-
@JsonGetter(Keys.CONTRIBUTOR)
811-
public Optional<String> getContributor() {
812-
return myContributor == null || myContributor.isBlank() ? Optional.empty() : Optional.of(myContributor);
813-
}
814-
815-
/**
816-
* Sets the optional contributor.
817-
*
818-
* @param aContributor The contributor to set
819-
* @return This Row instance for fluent chaining
820-
*/
821-
@JsonSetter(Keys.CONTRIBUTOR)
822-
public Row setContributor(final String aContributor) {
823-
myContributor = aContributor;
824-
return this;
825-
}
826-
827620
/**
828621
* Gets the optional resource type.
829622
*
@@ -847,50 +640,6 @@ public Row setTypeOfResource(final String aResourceType) {
847640
return this;
848641
}
849642

850-
/**
851-
* Gets the optional local ID.
852-
*
853-
* @return An Optional containing the local ID if set; otherwise, an empty Optional
854-
*/
855-
@JsonGetter(Keys.LOCAL_ID)
856-
public Optional<String> getLocalID() {
857-
return myLocalID == null || myLocalID.isBlank() ? Optional.empty() : Optional.of(myLocalID);
858-
}
859-
860-
/**
861-
* Sets the optional local ID.
862-
*
863-
* @param aLocalID The local ID to set
864-
* @return This Row instance for fluent chaining
865-
*/
866-
@JsonSetter(Keys.LOCAL_ID)
867-
public Row setLocalID(final String aLocalID) {
868-
myLocalID = aLocalID;
869-
return this;
870-
}
871-
872-
/**
873-
* Gets the optional OPAC URL.
874-
*
875-
* @return An Optional containing the OPAC URL if set; otherwise, an empty Optional
876-
*/
877-
@JsonGetter(Keys.OPAC_URL)
878-
public Optional<String> getOpacURL() {
879-
return myOpacURL == null || myOpacURL.isBlank() ? Optional.empty() : Optional.of(myOpacURL);
880-
}
881-
882-
/**
883-
* Sets the optional OPAC URL.
884-
*
885-
* @param aOpacURL The OPAC URL to set
886-
* @return This Row instance for fluent chaining
887-
*/
888-
@JsonSetter(Keys.OPAC_URL)
889-
public Row setOpacURL(final String aOpacURL) {
890-
myOpacURL = aOpacURL;
891-
return this;
892-
}
893-
894643
/**
895644
* Gets the optional place of origin.
896645
*

0 commit comments

Comments
 (0)