/
SubThing.java
32 lines (23 loc) · 975 Bytes
/
SubThing.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package org.springframework.data.neo4j.aspects.support.domain;
import org.springframework.data.neo4j.annotation.Indexed;
import org.springframework.data.neo4j.annotation.NodeEntity;
import org.springframework.data.neo4j.support.index.IndexType;
@NodeEntity
public class SubThing extends Thing {
@Indexed(indexType = IndexType.SIMPLE)
String legacyIndexedSubThingName;
@Indexed(indexType = IndexType.LABEL)
String schemaIndexedSubThingName;
public String getLegacyIndexedSubThingName() {
return legacyIndexedSubThingName;
}
public void setLegacyIndexedSubThingName(String legacyIndexedSubThingName) {
this.legacyIndexedSubThingName = legacyIndexedSubThingName;
}
public String getSchemaIndexedSubThingName() {
return schemaIndexedSubThingName;
}
public void setSchemaIndexedSubThingName(String schemaIndexedSubThingName) {
this.schemaIndexedSubThingName = schemaIndexedSubThingName;
}
}