Skip to content

Commit 53ec56f

Browse files
Ajit GeorgeAjit George
authored andcommitted
fix #407, update copyright years to 2016 for QA tests
1 parent 85a3b70 commit 53ec56f

File tree

157 files changed

+8611
-8611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+8611
-8611
lines changed
Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
17-
package com.marklogic.client.functionaltest;
18-
import com.marklogic.client.pojo.annotation.Id;
19-
public class Artifact {
20-
@Id
21-
public long id;
22-
private String name;
23-
private Company manufacturer;
24-
// @IndexClassField
25-
private int inventory;
26-
27-
public long getId() {
28-
return id;
29-
}
30-
public Artifact setId(long id) {
31-
this.id= id; return this;
32-
}
33-
public String getName() {
34-
return name;
35-
}
36-
public Artifact setName(String name) {
37-
this.name = name; return this;
38-
}
39-
public Company getManufacturer() {
40-
return manufacturer;
41-
}
42-
public Artifact setManufacturer(Company manufacturer) {
43-
this.manufacturer= manufacturer; return this;
44-
}
45-
public int getInventory() {
46-
return inventory;
47-
}
48-
public Artifact setInventory(int inventory) {
49-
this.inventory= inventory; return this;
50-
}
51-
}
1+
/*
2+
* Copyright 2014-2016 MarkLogic Corporation
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.marklogic.client.functionaltest;
18+
import com.marklogic.client.pojo.annotation.Id;
19+
public class Artifact {
20+
@Id
21+
public long id;
22+
private String name;
23+
private Company manufacturer;
24+
// @IndexClassField
25+
private int inventory;
26+
27+
public long getId() {
28+
return id;
29+
}
30+
public Artifact setId(long id) {
31+
this.id= id; return this;
32+
}
33+
public String getName() {
34+
return name;
35+
}
36+
public Artifact setName(String name) {
37+
this.name = name; return this;
38+
}
39+
public Company getManufacturer() {
40+
return manufacturer;
41+
}
42+
public Artifact setManufacturer(Company manufacturer) {
43+
this.manufacturer= manufacturer; return this;
44+
}
45+
public int getInventory() {
46+
return inventory;
47+
}
48+
public Artifact setInventory(int inventory) {
49+
this.inventory= inventory; return this;
50+
}
51+
}

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedOnDateTime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
Lines changed: 92 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,92 @@
1-
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
17-
package com.marklogic.client.functionaltest;
18-
19-
import java.util.Calendar;
20-
21-
import com.marklogic.client.pojo.annotation.Id;
22-
import com.marklogic.client.pojo.annotation.PathIndexProperty;
23-
import com.marklogic.client.pojo.annotation.PathIndexProperty.ScalarType;
24-
25-
/*
26-
* This class is similar to the Artifact class. It is used to test path range index using the Float type.
27-
* Property name been annotated with @Id.
28-
*/
29-
public class ArtifactIndexedOnFloat {
30-
@Id
31-
public String name;
32-
public long id;
33-
private Company manufacturer;
34-
private int inventory;
35-
@PathIndexProperty(scalarType = ScalarType.FLOAT)
36-
private Float price;
37-
38-
public Float getPrice() {
39-
return price;
40-
}
41-
42-
public void setPrice(Float price) {
43-
this.price = price;
44-
}
45-
46-
private Calendar expiryDate;
47-
48-
public long getId() {
49-
return id;
50-
}
51-
52-
public ArtifactIndexedOnFloat setId(long id) {
53-
this.id = id;
54-
return this;
55-
}
56-
57-
public String getName() {
58-
return name;
59-
}
60-
61-
public ArtifactIndexedOnFloat setName(String name) {
62-
this.name = name;
63-
return this;
64-
}
65-
66-
public Company getManufacturer() {
67-
return manufacturer;
68-
}
69-
70-
public ArtifactIndexedOnFloat setManufacturer(Company manufacturer) {
71-
this.manufacturer = manufacturer;
72-
return this;
73-
}
74-
75-
public int getInventory() {
76-
return inventory;
77-
}
78-
79-
public ArtifactIndexedOnFloat setInventory(int inventory) {
80-
this.inventory = inventory;
81-
return this;
82-
}
83-
84-
public Calendar getExpiryDate() {
85-
return expiryDate;
86-
}
87-
88-
public ArtifactIndexedOnFloat setExpiryDate(Calendar expiryDate) {
89-
this.expiryDate = expiryDate;
90-
return this;
91-
}
92-
}
1+
/*
2+
* Copyright 2014-2016 MarkLogic Corporation
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.marklogic.client.functionaltest;
18+
19+
import java.util.Calendar;
20+
21+
import com.marklogic.client.pojo.annotation.Id;
22+
import com.marklogic.client.pojo.annotation.PathIndexProperty;
23+
import com.marklogic.client.pojo.annotation.PathIndexProperty.ScalarType;
24+
25+
/*
26+
* This class is similar to the Artifact class. It is used to test path range index using the Float type.
27+
* Property name been annotated with @Id.
28+
*/
29+
public class ArtifactIndexedOnFloat {
30+
@Id
31+
public String name;
32+
public long id;
33+
private Company manufacturer;
34+
private int inventory;
35+
@PathIndexProperty(scalarType = ScalarType.FLOAT)
36+
private Float price;
37+
38+
public Float getPrice() {
39+
return price;
40+
}
41+
42+
public void setPrice(Float price) {
43+
this.price = price;
44+
}
45+
46+
private Calendar expiryDate;
47+
48+
public long getId() {
49+
return id;
50+
}
51+
52+
public ArtifactIndexedOnFloat setId(long id) {
53+
this.id = id;
54+
return this;
55+
}
56+
57+
public String getName() {
58+
return name;
59+
}
60+
61+
public ArtifactIndexedOnFloat setName(String name) {
62+
this.name = name;
63+
return this;
64+
}
65+
66+
public Company getManufacturer() {
67+
return manufacturer;
68+
}
69+
70+
public ArtifactIndexedOnFloat setManufacturer(Company manufacturer) {
71+
this.manufacturer = manufacturer;
72+
return this;
73+
}
74+
75+
public int getInventory() {
76+
return inventory;
77+
}
78+
79+
public ArtifactIndexedOnFloat setInventory(int inventory) {
80+
this.inventory = inventory;
81+
return this;
82+
}
83+
84+
public Calendar getExpiryDate() {
85+
return expiryDate;
86+
}
87+
88+
public ArtifactIndexedOnFloat setExpiryDate(Calendar expiryDate) {
89+
this.expiryDate = expiryDate;
90+
return this;
91+
}
92+
}

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedOnInt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedOnIntAsString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedOnMultipleFields.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedOnString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedOnStringSub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedOnUri.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

test-complete/src/test/java/com/marklogic/client/functionaltest/ArtifactIndexedUnSupportedDataType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2015 MarkLogic Corporation
2+
* Copyright 2014-2016 MarkLogic Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)