Examples of MDRegistrationBean


Examples of edu.monash.merc.dto.MDRegistrationBean

            this.accessRights = appSetting.getPropValue(AppPropSettings.ANDS_RIFCS_DATASET_ACCESS_RIGHTS);
            this.appName = getServerQName();
            this.rifcsStoreLocation = appSetting.getPropValue(AppPropSettings.ANDS_RIFCS_STORE_LOCATION);

            //create a new MDRegistrationBean
            MDRegistrationBean mdRegBean = new MDRegistrationBean();
            mdRegBean.setPhysicalAddress(physicalAddress);
            mdRegBean.setRifcsStoreLocation(rifcsStoreLocation);
            //set the RegMetadata
            mdRegBean.setRegMetadata(regMetadata);
            //set rifcs group name
            mdRegBean.setRifcsGroupName(this.groupName);
            //set access rights
            mdRegBean.setAccessRights(this.accessRights);
            //set the anzsrc code
            mdRegBean.setAnzsrcCode(this.anzSrcCode);
            //set the application name for originating source name
            mdRegBean.setAppName(this.appName);
            //set the application name for the electronic url
            mdRegBean.setElectronicURL(this.appName);
            //set the party beans
            mdRegBean.setPartyBeans(this.partyBeans);
            //set the activity beans
            mdRegBean.setActivityBeans(this.activityBeans);
            //set the licence bean
            mdRegBean.setLicenceBean(this.licenceBean);

            //save the metadata registration
            this.dmService.saveRegMetadata(mdRegBean);

            //success message
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.