@Test public void testSetName() throws SQLException { String name = "new name"; b.setName(context, name); assertThat("testSetName 0", b.getName(), notNullValue()); assertThat("testSetName 1", b.getName(), not(equalTo(""))); assertThat("testSetName 2", b.getName(), equalTo(name)); }
public void setName(Context context, String name) throws SQLException { getBundleService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "title", null, null, name); }
Bundle extends DSpaceObject implements DSpaceObjectLegacySupport { public void setName(Context context, String name) throws SQLException { getBundleService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "title", null, null, name); } }
Bundle extends DSpaceObject implements DSpaceObjectLegacySupport { public void setName(Context context, String name) throws SQLException { getBundleService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "title", null, null, name); } protected  Bundle(); }
Bundle extends DSpaceObject implements DSpaceObjectLegacySupport { public void setName(Context context, String name) throws SQLException { getBundleService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "title", null, null, name); } protected  Bundle(); @Override Integer getLegacyId(); @Override String getName(); void setName(Context context, String name); Bitstream getPrimaryBitstream(); void setPrimaryBitstreamID(Bitstream bitstream); void unsetPrimaryBitstreamID(); List<Bitstream> getBitstreams(); void clearBitstreams(); void removeBitstream(Bitstream bitstream); List<Item> getItems(); @Override boolean equals(Object obj); @Override int hashCode(); @Override int getType(); }
Bundle extends DSpaceObject implements DSpaceObjectLegacySupport { public void setName(Context context, String name) throws SQLException { getBundleService().setMetadataSingleValue(context, this, MetadataSchemaEnum.DC.getName(), "title", null, null, name); } protected  Bundle(); @Override Integer getLegacyId(); @Override String getName(); void setName(Context context, String name); Bitstream getPrimaryBitstream(); void setPrimaryBitstreamID(Bitstream bitstream); void unsetPrimaryBitstreamID(); List<Bitstream> getBitstreams(); void clearBitstreams(); void removeBitstream(Bitstream bitstream); List<Item> getItems(); @Override boolean equals(Object obj); @Override int hashCode(); @Override int getType();  }