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 long
getContentId()
String
getCreatedBy()
Date
getCreatedOn()
String
getDescription()
long
getGlobalId()
List<String>
getLabels()
String
getName()
Map<String,String>
getProperties()
ArtifactState
getState()
ArtifactType
getType()
String
getVersion()
int
getVersionId()
void
setContentId(long contentId)
void
setCreatedBy(String createdBy)
void
setCreatedOn(Date createdOn)
void
setDescription(String description)
void
setGlobalId(long globalId)
void
setLabels(List<String> labels)
void
setName(String name)
void
setProperties(Map<String,String> properties)
void
setState(ArtifactState state)
void
setType(ArtifactType type)
void
setVersion(String version)
void
setVersionId(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
-
-