METAGEN-54 Added license headers

This commit is contained in:
Hardy Ferentschik 2011-02-14 18:31:29 +01:00 committed by Strong Liu
parent 29b18cb62c
commit cb900355a7
4 changed files with 84 additions and 21 deletions

View File

@ -1,19 +1,35 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.hibernate.jpamodelgen.test.xmlonly; package org.hibernate.jpamodelgen.test.xmlonly;
import java.util.Set; import java.util.Set;
public class Car { public class Car {
public Long getId() { public Long getId() {
return 1L; return 1L;
} }
public void setId(Long id) { public void setId(Long id) {
} }
public Set<Tire> getTires() { public Set<Tire> getTires() {
return null; return null;
} }
public void setTires(Set<Tire> tires) { public void setTires(Set<Tire> tires) {
} }
} }

View File

@ -1,3 +1,19 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.hibernate.jpamodelgen.test.xmlonly; package org.hibernate.jpamodelgen.test.xmlonly;
import java.util.Set; import java.util.Set;

View File

@ -1,3 +1,19 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.hibernate.jpamodelgen.test.xmlonly; package org.hibernate.jpamodelgen.test.xmlonly;
import java.util.Set; import java.util.Set;

View File

@ -1,18 +1,33 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* 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.hibernate.jpamodelgen.test.xmlonly; package org.hibernate.jpamodelgen.test.xmlonly;
public class Tire { public class Tire {
public Long getId() { public Long getId() {
return 1L; return 1L;
} }
public void setId(Long id) { public void setId(Long id) {
} }
public Car getCar() { public Car getCar() {
return null; return null;
} }
public void setCar(Car car) {
}
public void setCar(Car car) {
}
} }