@Test void testNoIxnModel() throws SQLException { final ResultSet mockResultSet = mock(ResultSet.class); final ResourceData rd = new ResourceData(mockResultSet); assertEquals(LDP.Resource, rd.getInteractionModel()); when(mockResultSet.getString(eq("interaction_model"))).thenReturn("http: final ResourceData rd2 = new ResourceData(mockResultSet); assertEquals(LDP.RDFSource, rd2.getInteractionModel()); }
public IRI getInteractionModel() { return interactionModel; }
ResourceData { public IRI getInteractionModel() { return interactionModel; } }
ResourceData { public IRI getInteractionModel() { return interactionModel; } ResourceData(final ResultSet rs); }
ResourceData { public IRI getInteractionModel() { return interactionModel; } ResourceData(final ResultSet rs); int getId(); IRI getInteractionModel(); Instant getModified(); Optional<IRI> getIsPartOf(); boolean hasAcl(); boolean isDeleted(); Optional<IRI> getMembershipResource(); Optional<IRI> getHasMemberRelation(); Optional<IRI> getIsMemberOfRelation(); Optional<IRI> getInsertedContentRelation(); Optional<BinaryMetadata> getBinaryMetadata(); Map<String, String> getExtra(); void setExtra(final Map<String, String> extra); }
ResourceData { public IRI getInteractionModel() { return interactionModel; } ResourceData(final ResultSet rs); int getId(); IRI getInteractionModel(); Instant getModified(); Optional<IRI> getIsPartOf(); boolean hasAcl(); boolean isDeleted(); Optional<IRI> getMembershipResource(); Optional<IRI> getHasMemberRelation(); Optional<IRI> getIsMemberOfRelation(); Optional<IRI> getInsertedContentRelation(); Optional<BinaryMetadata> getBinaryMetadata(); Map<String, String> getExtra(); void setExtra(final Map<String, String> extra);  }