Package io.apicurio.registry.storage.dto
Class SearchedVersionDto
- java.lang.Object
-
- io.apicurio.registry.storage.dto.SearchedVersionDto
-
public class SearchedVersionDto extends Object
- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description SearchedVersionDto()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetContentId()StringgetCreatedBy()DategetCreatedOn()StringgetDescription()longgetGlobalId()List<String>getLabels()StringgetName()Map<String,String>getProperties()ArtifactStategetState()ArtifactTypegetType()StringgetVersion()intgetVersionId()voidsetContentId(long contentId)voidsetCreatedBy(String createdBy)voidsetCreatedOn(Date createdOn)voidsetDescription(String description)voidsetGlobalId(long globalId)voidsetLabels(List<String> labels)voidsetName(String name)voidsetProperties(Map<String,String> properties)voidsetState(ArtifactState state)voidsetType(ArtifactType type)voidsetVersion(String version)voidsetVersionId(int versionId)
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getCreatedOn
public Date getCreatedOn()
- Returns:
- the createdOn
-
setCreatedOn
public void setCreatedOn(Date createdOn)
- Parameters:
createdOn- the createdOn to set
-
getCreatedBy
public String getCreatedBy()
- Returns:
- the createdBy
-
setCreatedBy
public void setCreatedBy(String createdBy)
- Parameters:
createdBy- the createdBy to set
-
getType
public ArtifactType getType()
- Returns:
- the type
-
setType
public void setType(ArtifactType type)
- Parameters:
type- the type to set
-
getState
public ArtifactState getState()
- Returns:
- the state
-
setState
public void setState(ArtifactState state)
- Parameters:
state- the state to set
-
getGlobalId
public long getGlobalId()
- Returns:
- the globalId
-
setGlobalId
public void setGlobalId(long globalId)
- Parameters:
globalId- the globalId to set
-
getContentId
public long getContentId()
- Returns:
- the contentId
-
setContentId
public void setContentId(long contentId)
- Parameters:
contentId- the contentId to set
-
getVersion
public String getVersion()
- Returns:
- the version
-
setVersion
public void setVersion(String version)
- Parameters:
version- the version to set
-
setProperties
public void setProperties(Map<String,String> properties)
- Parameters:
properties- the properties to set
-
getVersionId
public int getVersionId()
- Returns:
- the versionId
-
setVersionId
public void setVersionId(int versionId)
- Parameters:
versionId- the versionId to set
-
-