@Test public void testSetLicense() throws SQLException { String license = "license for test"; collection.setLicense(context, license); assertThat("testSetLicense 0", collectionService.getLicense(collection), notNullValue()); assertThat("testSetLicense 1", collectionService.getLicense(collection), equalTo(license)); assertThat("testSetLicense 2", collection.getLicenseCollection(), notNullValue()); assertThat("testSetLicense 3", collection.getLicenseCollection(), equalTo(license)); }
public void setLicense(Context context, String license) throws SQLException { getCollectionService().setMetadata(context, this, "license", license); }
Collection extends DSpaceObject implements DSpaceObjectLegacySupport { public void setLicense(Context context, String license) throws SQLException { getCollectionService().setMetadata(context, this, "license", license); } }
Collection extends DSpaceObject implements DSpaceObjectLegacySupport { public void setLicense(Context context, String license) throws SQLException { getCollectionService().setMetadata(context, this, "license", license); } protected  Collection(); }
Collection extends DSpaceObject implements DSpaceObjectLegacySupport { public void setLicense(Context context, String license) throws SQLException { getCollectionService().setMetadata(context, this, "license", license); } protected  Collection(); @Override String getName(); Bitstream getLogo(); Group getSubmitters(); Group getAdministrators(); Group getWorkflowStep1(Context context); Group getWorkflowStep2(Context context); Group getWorkflowStep3(Context context); String getLicenseCollection(); void setLicense(Context context, String license); Item getTemplateItem(); List<Community> getCommunities(); @Override boolean equals(Object other); @Override int hashCode(); @Override int getType(); void setWorkflowGroup(Context context, int step, Group g); @Override Integer getLegacyId(); }
Collection extends DSpaceObject implements DSpaceObjectLegacySupport { public void setLicense(Context context, String license) throws SQLException { getCollectionService().setMetadata(context, this, "license", license); } protected  Collection(); @Override String getName(); Bitstream getLogo(); Group getSubmitters(); Group getAdministrators(); Group getWorkflowStep1(Context context); Group getWorkflowStep2(Context context); Group getWorkflowStep3(Context context); String getLicenseCollection(); void setLicense(Context context, String license); Item getTemplateItem(); List<Community> getCommunities(); @Override boolean equals(Object other); @Override int hashCode(); @Override int getType(); void setWorkflowGroup(Context context, int step, Group g); @Override Integer getLegacyId(); @Transient
    static final String COPYRIGHT_TEXT; @Transient
    static final String INTRODUCTORY_TEXT; @Transient
    static final String SHORT_DESCRIPTION; @Transient
    static final String SIDEBAR_TEXT; @Transient
    static final String PROVENANCE_TEXT; }