@Test public void testSetSource() throws SQLException { String source = "new source"; bs.setSource(context, source); assertThat("testSetSource 0", bs.getSource(), notNullValue()); assertThat("testSetSource 1", bs.getSource(), not(equalTo(""))); assertThat("testSetSource 2", bs.getSource(), equalTo(source)); }
public void setSource(Context context, String n) throws SQLException { getBitstreamService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "source", null, null, n); }
Bitstream extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSource(Context context, String n) throws SQLException { getBitstreamService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "source", null, null, n); } }
Bitstream extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSource(Context context, String n) throws SQLException { getBitstreamService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "source", null, null, n); } protected  Bitstream(); }
Bitstream extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSource(Context context, String n) throws SQLException { getBitstreamService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "source", null, null, n); } protected  Bitstream(); int getSequenceID(); void setSequenceID(int sid); @Override String getName(); void setName(Context context, String n); String getSource(); void setSource(Context context, String n); String getDescription(); void setDescription(Context context, String n); String getChecksum(); void setChecksum(String checksum); String getChecksumAlgorithm(); void setChecksumAlgorithm(String checksumAlgorithm); long getSizeBytes(); void setSizeBytes(long sizeBytes); String getUserFormatDescription(); BitstreamFormat getFormat(Context context); boolean isDeleted(); void setDeleted(boolean deleted); List<Bundle> getBundles(); @Override int getType(); Collection getCollection(); Community getCommunity(); int getStoreNumber(); void setStoreNumber(int storeNumber); String getInternalId(); void setInternalId(String internalId); void setUserFormatDescription(Context context, String desc); String getFormatDescription(Context context); void setFormat(Context context, BitstreamFormat f); @Override Integer getLegacyId(); @Override boolean equals(Object other); @Override int hashCode(); void setAcceptanceDate(Context context, DCDate acceptanceDate); }
Bitstream extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSource(Context context, String n) throws SQLException { getBitstreamService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "source", null, null, n); } protected  Bitstream(); int getSequenceID(); void setSequenceID(int sid); @Override String getName(); void setName(Context context, String n); String getSource(); void setSource(Context context, String n); String getDescription(); void setDescription(Context context, String n); String getChecksum(); void setChecksum(String checksum); String getChecksumAlgorithm(); void setChecksumAlgorithm(String checksumAlgorithm); long getSizeBytes(); void setSizeBytes(long sizeBytes); String getUserFormatDescription(); BitstreamFormat getFormat(Context context); boolean isDeleted(); void setDeleted(boolean deleted); List<Bundle> getBundles(); @Override int getType(); Collection getCollection(); Community getCommunity(); int getStoreNumber(); void setStoreNumber(int storeNumber); String getInternalId(); void setInternalId(String internalId); void setUserFormatDescription(Context context, String desc); String getFormatDescription(Context context); void setFormat(Context context, BitstreamFormat f); @Override Integer getLegacyId(); @Override boolean equals(Object other); @Override int hashCode(); void setAcceptanceDate(Context context, DCDate acceptanceDate);  }