com.mvp4g.util.config.element.GinModuleElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mvp4g Show documentation
Show all versions of mvp4g Show documentation
Model View Presenter with Event Bus For GWT
/*
* Copyright 2010 Pierre-Laurent Coirier
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.mvp4g.util.config.element;
import com.mvp4g.util.exception.element.DuplicatePropertyNameException;
public class GinModuleElement extends Mvp4gElement {
public GinModuleElement() {
super( "gin" );
}
private static final String GIN_ELEMENT_ID = GinModuleElement.class.getName();
@Override
public String getUniqueIdentifierName() {
return GIN_ELEMENT_ID;
}
public void setModules( String[] modules ) throws DuplicatePropertyNameException {
setValues( "modules", modules );
}
public String[] getModules() {
return getValues( "modules" );
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy