setCreatedBy(createdBy.toString());
private void init() { setGuid(nextInternalId()); setStatus(null); setCreatedBy(null); setUpdatedBy(null); setCreateTime(null); setUpdateTime(null); setClassifications(null); }
private AtlasEntity mapSystemAttributes(AtlasVertex entityVertex, AtlasEntity entity) { if (LOG.isDebugEnabled()) { LOG.debug("Mapping system attributes for type {}", entity.getTypeName()); } entity.setGuid(getGuid(entityVertex)); entity.setTypeName(getTypeName(entityVertex)); entity.setStatus(GraphHelper.getStatus(entityVertex)); entity.setVersion(GraphHelper.getVersion(entityVertex)); entity.setCreatedBy(GraphHelper.getCreatedByAsString(entityVertex)); entity.setUpdatedBy(GraphHelper.getModifiedByAsString(entityVertex)); entity.setCreateTime(new Date(GraphHelper.getCreatedTime(entityVertex))); entity.setUpdateTime(new Date(GraphHelper.getModifiedTime(entityVertex))); entity.setHomeId(GraphHelper.getHomeId(entityVertex)); entity.setIsProxy(GraphHelper.isProxy(entityVertex)); return entity; }
private AtlasEntity mapSystemAttributes(AtlasVertex entityVertex, AtlasEntity entity) { if (LOG.isDebugEnabled()) { LOG.debug("Mapping system attributes for type {}", entity.getTypeName()); } entity.setGuid(getGuid(entityVertex)); entity.setTypeName(getTypeName(entityVertex)); entity.setStatus(GraphHelper.getStatus(entityVertex)); entity.setVersion(GraphHelper.getVersion(entityVertex)); entity.setCreatedBy(GraphHelper.getCreatedByAsString(entityVertex)); entity.setUpdatedBy(GraphHelper.getModifiedByAsString(entityVertex)); entity.setCreateTime(new Date(GraphHelper.getCreatedTime(entityVertex))); entity.setUpdateTime(new Date(GraphHelper.getModifiedTime(entityVertex))); entity.setHomeId(GraphHelper.getHomeId(entityVertex)); entity.setIsProxy(GraphHelper.isProxy(entityVertex)); entity.setProvenanceType(GraphHelper.getProvenanceType(entityVertex)); return entity; }
private void init() { setGuid(nextInternalId()); setHomeId(null); setIsProxy(Boolean.FALSE); setStatus(null); setCreatedBy(null); setUpdatedBy(null); setCreateTime(null); setUpdateTime(null); setClassifications(null); setMeanings(null); }
entity.setGuid(entRef.getId()._getId()); entity.setStatus(convertState(entRef.getId().getState())); entity.setCreatedBy(entRef.getSystemAttributes().createdBy); entity.setCreateTime(entRef.getSystemAttributes().createdTime); entity.setUpdatedBy(entRef.getSystemAttributes().modifiedBy);
public AtlasEntity(AtlasEntity other) { super(other); if (other != null) { setGuid(other.getGuid()); setStatus(other.getStatus()); setCreatedBy(other.getCreatedBy()); setUpdatedBy(other.getUpdatedBy()); setCreateTime(other.getCreateTime()); setUpdateTime(other.getUpdateTime()); setVersion(other.getVersion()); setClassifications(other.getClassifications()); } }
entity.setCreatedBy(entRef.getSystemAttributes().getCreatedBy()); entity.setCreateTime(entRef.getSystemAttributes().getCreatedTime()); entity.setUpdatedBy(entRef.getSystemAttributes().getModifiedBy());
shallowEntity.setCreateTime(entity.getCreateTime()); shallowEntity.setUpdateTime(entity.getUpdateTime()); shallowEntity.setCreatedBy(entity.getCreatedBy()); shallowEntity.setUpdatedBy(entity.getUpdatedBy()); shallowEntity.setStatus(entity.getStatus());
shallowEntity.setCreateTime(entity.getCreateTime()); shallowEntity.setUpdateTime(entity.getUpdateTime()); shallowEntity.setCreatedBy(entity.getCreatedBy()); shallowEntity.setUpdatedBy(entity.getUpdatedBy()); shallowEntity.setStatus(entity.getStatus());
public AtlasEntity(AtlasEntity other) { super(other); if (other != null) { setGuid(other.getGuid()); setHomeId(other.getHomeId()); setIsProxy(other.isProxy()); setStatus(other.getStatus()); setCreatedBy(other.getCreatedBy()); setUpdatedBy(other.getUpdatedBy()); setCreateTime(other.getCreateTime()); setUpdateTime(other.getUpdateTime()); setVersion(other.getVersion()); setClassifications(other.getClassifications()); } }