public static void populateSystemAttributes(AtlasBaseTypeDef typeDef) { typeDef.setCreatedBy(TestUtilsV2.TEST_USER); typeDef.setUpdatedBy(TestUtilsV2.TEST_USER); } }
typeDef.setTypeVersion(typeVersion); typeDef.setGuid(guid); typeDef.setCreatedBy(createdBy); typeDef.setUpdatedBy(updatedBy);
protected AtlasBaseTypeDef(TypeCategory category, String name, String description, String typeVersion, Map<String, String> options) { super(); this.category = category; setGuid(null); setCreatedBy(null); setUpdatedBy(null); setCreateTime(null); setUpdateTime(null); setVersion(null); setName(name); setDescription(description); setTypeVersion(typeVersion); setOptions(options); }
protected AtlasBaseTypeDef(TypeCategory category, String name, String description, String typeVersion, Map<String, String> options) { super(); this.category = category; setGuid(null); setCreatedBy(null); setUpdatedBy(null); setCreateTime(null); setUpdateTime(null); setVersion(null); setName(name); setDescription(description); setTypeVersion(typeVersion); setOptions(options); }
typeDef.setTypeVersion(typeVersion); typeDef.setGuid(guid); typeDef.setCreatedBy(createdBy); typeDef.setUpdatedBy(updatedBy);
protected AtlasBaseTypeDef(AtlasBaseTypeDef other) { if (other != null) { this.category = other.category; setGuid(other.getGuid()); setCreatedBy(other.getCreatedBy()); setUpdatedBy(other.getUpdatedBy()); setCreateTime(other.getCreateTime()); setUpdateTime(other.getUpdateTime()); setVersion(other.getVersion()); setName(other.getName()); setDescription(other.getDescription()); setTypeVersion(other.getTypeVersion()); setOptions(other.getOptions()); } else { this.category = TypeCategory.PRIMITIVE; setGuid(null); setCreatedBy(null); setUpdatedBy(null); setCreateTime(null); setUpdateTime(null); setVersion(null); setName(null); setDescription(null); setTypeVersion(null); setOptions(null); } }
protected AtlasBaseTypeDef(AtlasBaseTypeDef other) { if (other != null) { this.category = other.category; setGuid(other.getGuid()); setCreatedBy(other.getCreatedBy()); setUpdatedBy(other.getUpdatedBy()); setCreateTime(other.getCreateTime()); setUpdateTime(other.getUpdateTime()); setVersion(other.getVersion()); setName(other.getName()); setDescription(other.getDescription()); setTypeVersion(other.getTypeVersion()); setOptions(other.getOptions()); } else { this.category = TypeCategory.PRIMITIVE; setGuid(null); setCreatedBy(null); setUpdatedBy(null); setCreateTime(null); setUpdateTime(null); setVersion(null); setName(null); setDescription(null); setTypeVersion(null); setOptions(null); } }