Cleaning code
This commit is contained in:
parent
6d3d9b8e37
commit
b3433d2d23
|
@ -73,6 +73,10 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
||||||
public final static String AT = "@";
|
public final static String AT = "@";
|
||||||
public final static String UNDERSCORE = "_";
|
public final static String UNDERSCORE = "_";
|
||||||
|
|
||||||
|
public final static String IN_PREFIX = "in_";
|
||||||
|
public final static String OUT_PREFIX = "out_";
|
||||||
|
|
||||||
|
|
||||||
/* *
|
/* *
|
||||||
* The classes which has not to be included in the superClasses property when serialize and instance
|
* The classes which has not to be included in the superClasses property when serialize and instance
|
||||||
* e.g. for any Resource instance when mast not include Entity and any Entity super class
|
* e.g. for any Resource instance when mast not include Entity and any Entity super class
|
||||||
|
|
|
@ -43,10 +43,10 @@ public abstract class EntityElementManagement<E extends EntityElement, ET extend
|
||||||
|
|
||||||
this.ignoreKeys.add(EntityElement.HEADER_PROPERTY);
|
this.ignoreKeys.add(EntityElement.HEADER_PROPERTY);
|
||||||
|
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_IN_PREFIX.toLowerCase());
|
this.ignoreStartWithKeys.add(IN_PREFIX.toLowerCase());
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_OUT_PREFIX.toLowerCase());
|
this.ignoreStartWithKeys.add(OUT_PREFIX.toLowerCase());
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_IN_PREFIX.toUpperCase());
|
this.ignoreStartWithKeys.add(IN_PREFIX.toUpperCase());
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_OUT_PREFIX.toUpperCase());
|
this.ignoreStartWithKeys.add(OUT_PREFIX.toUpperCase());
|
||||||
|
|
||||||
this.relationManagements = new HashMap<>();
|
this.relationManagements = new HashMap<>();
|
||||||
|
|
||||||
|
|
|
@ -133,10 +133,10 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
|
||||||
|
|
||||||
this.ignoreKeys.add(Entity.HEADER_PROPERTY);
|
this.ignoreKeys.add(Entity.HEADER_PROPERTY);
|
||||||
|
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_IN_PREFIX.toLowerCase());
|
this.ignoreStartWithKeys.add(IN_PREFIX.toLowerCase());
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_OUT_PREFIX.toLowerCase());
|
this.ignoreStartWithKeys.add(OUT_PREFIX.toLowerCase());
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_IN_PREFIX.toUpperCase());
|
this.ignoreStartWithKeys.add(IN_PREFIX.toUpperCase());
|
||||||
this.ignoreStartWithKeys.add(com.tinkerpop.blueprints.impls.orient.OrientVertex.CONNECTION_OUT_PREFIX.toUpperCase());
|
this.ignoreStartWithKeys.add(OUT_PREFIX.toUpperCase());
|
||||||
|
|
||||||
this.relationManagements = new HashMap<>();
|
this.relationManagements = new HashMap<>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue