package rocks.inspectit.shared.cs.storage.label.type.impl;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import rocks.inspectit.shared.cs.storage.label.type.AbstractStorageLabelType;
/**
* Type of the label to denote the Use case.
*
* @author Ivan Senic
*
*/
@Entity
@DiscriminatorValue("UCLT")
public class UseCaseLabelType extends AbstractStorageLabelType<String> {
/**
* Generated UID.
*/
private static final long serialVersionUID = 2063815585367573009L;
/**
* {@inheritDoc}
*/
@Override
public boolean isOnePerStorage() {
return false;
}
/**
* {@inheritDoc}
*/
@Override
public boolean isValueReusable() {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean isMultiType() {
return false;
}
/**
* {@inheritDoc}
*/
@Override
public Class<String> getValueClass() {
return String.class;
}
}