X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fusermgt%2Fhibernate%2FUsermgtHibernateMappingFiles.java;h=629f6170797ff6d91987f7da986d47aae8ad6961;hb=ddd261f331280640c5b53c7128230b629ebcd268;hp=8d523c2e4e685fd1dffea1316a7398a181164951;hpb=92e23e5ecf9614f2ab770a8cdedc0b21ddf1e127;p=utils diff --git a/security/src/main/java/org/wamblee/usermgt/hibernate/UsermgtHibernateMappingFiles.java b/security/src/main/java/org/wamblee/usermgt/hibernate/UsermgtHibernateMappingFiles.java index 8d523c2e..629f6170 100644 --- a/security/src/main/java/org/wamblee/usermgt/hibernate/UsermgtHibernateMappingFiles.java +++ b/security/src/main/java/org/wamblee/usermgt/hibernate/UsermgtHibernateMappingFiles.java @@ -1,40 +1,45 @@ /* * Copyright 2005 the original author or authors. - * + * * 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 org.wamblee.usermgt.hibernate; +import org.wamblee.persistence.hibernate.HibernateMappingFiles; + import java.util.Collections; -import org.wamblee.persistence.hibernate.HibernateMappingFiles; /** - * Hibernate mapping files for user management. + * Hibernate mapping files for user management. * * @author Erik Brakkee */ public class UsermgtHibernateMappingFiles extends HibernateMappingFiles { - - public UsermgtHibernateMappingFiles() { - super(new String[] { - "hbm/Group.hbm.xml", "hbm/User.hbm.xml" - }); +/** + * Creates a new UsermgtHibernateMappingFiles object. + */ + public UsermgtHibernateMappingFiles() { + super(new String[] { "hbm/Group.hbm.xml", "hbm/User.hbm.xml" }); } - - public UsermgtHibernateMappingFiles(String[] aFiles) { - this(); + +/** + * Creates a new UsermgtHibernateMappingFiles object. + * + * @param aFiles DOCUMENT ME! + */ + public UsermgtHibernateMappingFiles(String[] aFiles) { + this(); Collections.addAll(this, aFiles); } }