public AtlasClassificationDef(String name, String description, String typeVersion, List<AtlasAttributeDef> attributeDefs, Set<String> superTypes, Map<String, String> options) { super(TypeCategory.CLASSIFICATION, name, description, typeVersion, attributeDefs, options); setSuperTypes(superTypes); }
public AtlasClassificationDef(AtlasClassificationDef other) { super(other); setSuperTypes(other != null ? other.getSuperTypes() : null); }
public AtlasClassificationDef(String name, String description, String typeVersion, List<AtlasAttributeDef> attributeDefs, Set<String> superTypes, Set<String> entityTypes, Map<String, String> options) { super(TypeCategory.CLASSIFICATION, name, description, typeVersion, attributeDefs, options); setSuperTypes(superTypes); setEntityTypes(entityTypes); }
public AtlasClassificationDef(AtlasClassificationDef other) { super(other); setSuperTypes(other != null ? other.getSuperTypes() : null); }
private AtlasClassificationDef toClassificationDef(AtlasVertex vertex) throws AtlasBaseException { AtlasClassificationDef ret = null; if (vertex != null && typeDefStore.isTypeVertex(vertex, TypeCategory.TRAIT)) { ret = new AtlasClassificationDef(); AtlasStructDefStoreV2.toStructDef(vertex, ret, typeDefStore); ret.setSuperTypes(typeDefStore.getSuperTypeNames(vertex)); ret.setEntityTypes(typeDefStore.getEntityTypeNames(vertex)); } return ret; }
private AtlasClassificationDef toClassificationDef(AtlasVertex vertex) throws AtlasBaseException { AtlasClassificationDef ret = null; if (vertex != null && typeDefStore.isTypeVertex(vertex, TypeCategory.TRAIT)) { ret = new AtlasClassificationDef(); AtlasStructDefStoreV2.toStructDef(vertex, ret, typeDefStore); ret.setSuperTypes(typeDefStore.getSuperTypeNames(vertex)); ret.setEntityTypes(typeDefStore.getEntityTypeNames(vertex)); } return ret; }
superTypes.add(classificationTypeName1); classificationDef2.setSuperTypes(superTypes); classificationDef1.setEntityTypes(entityTypeNames);
classificationDef2.setSuperTypes(superTypes); classificationDef2.setEntityTypes(entityTypeNames2);