@Entity public class ServiceComponentVersionEntity extends Object
ServiceComponentVersionEntity
class is used to represent the
association of a component and repository version.Constructor and Description |
---|
ServiceComponentVersionEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getId() |
RepositoryVersionEntity |
getRepositoryVersion() |
ServiceComponentDesiredStateEntity |
getServiceComponentDesiredState() |
RepositoryVersionState |
getState() |
String |
getUserName() |
int |
hashCode() |
void |
setRepositoryVersion(RepositoryVersionEntity repositoryVersion) |
void |
setServiceComponentDesiredState(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
void |
setState(RepositoryVersionState state) |
void |
setUserName(String name) |
public ServiceComponentDesiredStateEntity getServiceComponentDesiredState()
public void setServiceComponentDesiredState(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity)
serviceComponentDesiredStateEntity
- the associated component (not null
)public void setRepositoryVersion(RepositoryVersionEntity repositoryVersion)
repositoryVersion
- the repositorypublic RepositoryVersionEntity getRepositoryVersion()
public long getId()
public RepositoryVersionState getState()
public void setState(RepositoryVersionState state)
state
- the state of the repositorypublic String getUserName()
public void setUserName(String name)
name
- the user nameCopyright © 2022 Apache Software Foundation. All rights reserved.