com.geotab.model.entity.distributionlist.DistributionListSystem Maven / Gradle / Ivy
package com.geotab.model.entity.distributionlist;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonProperty.Access;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
/**
* The base class for {@link DistributionList}(s) that are system entities.
*/
@Getter @Setter
@NoArgsConstructor
@SuperBuilder
public abstract class DistributionListSystem extends DistributionList {
@JsonProperty(access = Access.WRITE_ONLY)
public String getName() {
return super.getName();
}
@Override
public boolean isSystemEntity() {
return true;
}
}