com.mvp4g.rebind.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 (c) 2009 - 2017 - Pierre-Laurent Coirer, Frank Hossfeld
*
* 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.rebind.config.element;
import java.util.List;
public class GinModuleElement
extends Mvp4gElement {
private static final String GIN_ELEMENT_ID = GinModuleElement.class.getName();
public GinModuleElement() {
super("gin");
}
@Override
public String getUniqueIdentifierName() {
return GIN_ELEMENT_ID;
}
public List getModules() {
return getFlexibleValues("modules");
}
public void setModules(String[] modules) {
setFlexibleValues("modules",
modules);
}
public String[] getModuleProperties() {
return getValues("moduleProperties");
}
public void setModuleProperties(String[] modules) {
setValues("moduleProperties",
modules);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy