updatedDef.getOptions().putAll(patch.getTypeDefOptions()); updatedDef.setTypeVersion(patch.getUpdateToVersion()); updatedDef.getOptions().putAll(patch.getTypeDefOptions()); updatedDef.setTypeVersion(patch.getUpdateToVersion()); updatedDef.getOptions().putAll(patch.getTypeDefOptions()); updatedDef.setTypeVersion(patch.getUpdateToVersion()); updatedDef.getOptions().putAll(patch.getTypeDefOptions()); updatedDef.setTypeVersion(patch.getUpdateToVersion());
typeDef.setTypeVersion(typeVersion); typeDef.setGuid(guid); typeDef.setCreatedBy(createdBy);
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.setDescription(description); typeDef.setServiceType(serviceType); typeDef.setTypeVersion(typeVersion); typeDef.setGuid(guid); typeDef.setCreatedBy(createdBy);
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("1.0");
typeDef.setTypeVersion("1.0");
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); } }