本文整理了Java中org.springframework.data.annotation.Transient
类的一些代码示例,展示了Transient
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Transient
类的具体详情如下:
包路径:org.springframework.data.annotation.Transient
类名称:Transient
暂无
代码示例来源:origin: kbastani/spring-cloud-event-sourcing-example
private ObjectId orderId;
private String accountNumber;
@Transient
private OrderStatus orderStatus;
private List<LineItem> lineItems = new ArrayList<>();
代码示例来源:origin: spring-projects/spring-data-examples
private @Transient Period minimumAge, maximumAge;
代码示例来源:origin: spring-projects/spring-integration
@Transient
private final Message<?> message;
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public Element[] getExtraExcelColumns() {
return null;
}
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public String getExcelValue(String answer, String lang) {
return answer;
}
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public String getEducationOidInputId() {
return educationInputId + "-id";
}
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public Set<String> getVariables() {
return variables;
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public String getValue() {
return value;
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public String getType() {
return type;
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public boolean isConfigurable() {
return configurable;
}
代码示例来源:origin: com.jtbdevelopment.core-games/games
@Transient
String getIdAsString();
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
public abstract class FieldValidator implements Validator {
protected final I18nText errorMessage;
@Transient
protected ValidationResult validValidationResult;
protected FieldValidator(final I18nText errorMessage) {
Validate.notNull(errorMessage, "ErrorMessage can't be null");
this.errorMessage = errorMessage;
validValidationResult = new ValidationResult();
}
public I18nText getErrorMessage() {
return errorMessage;
}
public ValidationResult getInvalidValidationResult(final ValidationInput validationInput) {
return new ValidationResult(validationInput.getFieldName(), getErrorMessage());
}
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
public class Theme extends Titled {
private static final long serialVersionUID = -1394712276903310469L;
final boolean previewable;
@Transient
boolean configurable;
public Theme(final String id, final I18nText i18nText, final boolean previewable) {
super(id, i18nText);
this.previewable = previewable;
}
public boolean isPreviewable() {
return previewable;
}
@Transient
public boolean isConfigurable() {
return configurable;
}
public void setConfigurable(boolean configurable) {
this.configurable = configurable;
}
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public boolean isEditAllowedByRoles(List<String> roles) {
for (String role : roles) {
if (editAllowedByRoles.contains(role)) {
return true;
}
}
return false;
}
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
public class RegexFieldValidator extends FieldValidator {
private final String pattern;
@Transient
private final Pattern compiledPattern;
public RegexFieldValidator(final I18nText errorMessage, final String pattern) {
super(errorMessage);
Validate.notNull(pattern, "Pattern can't be null");
this.pattern = pattern;
this.compiledPattern = Pattern.compile(this.pattern);
}
@Override
public ValidationResult validate(final ValidationInput validationInput) {
String value = validationInput.getValue();
if (value != null && !compiledPattern.matcher(value).matches()) {
return getInvalidValidationResult(validationInput);
}
return validValidationResult;
}
public String getPattern() {
return pattern;
}
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
@Override
public int hashCode() {
return Objects.hashCode(id);
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public final boolean hasChildren() {
return this.children.size() > 0;
}
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
public boolean isPublished() {
return "JULKAISTU".equals(state);
}
代码示例来源:origin: com.qaprosoft/alice-models
@Transient
private Date modifiedAt;
@Transient
private Date createdAt;
代码示例来源:origin: fi.vm.sade.haku/hakemus-api
@Transient
private final Predicate<Map.Entry<String, String>> valuePredicate;
内容来源于网络,如有侵权,请联系作者删除!