java.beans.Transient类的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(124)

本文整理了Java中java.beans.Transient类的一些代码示例,展示了Transient类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Transient类的具体详情如下:
包路径:java.beans.Transient
类名称:Transient

Transient介绍

暂无

代码示例

代码示例来源:origin: apache/activemq

@Override
@Transient
public MessageDestination getRegionDestination() {
  return regionDestination;
}

代码示例来源:origin: redisson/redisson

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: org.apache.activemq/activemq-client

@Override
@Transient
public MessageDestination getRegionDestination() {
  return regionDestination;
}

代码示例来源:origin: prestodb/presto

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: actframework/actframework

/**
 * Returns the meta info of this AdaptiveRecord
 *
 * @return AdaptiveRecord meta info
 */
@Transient
EnhancedAdaptiveMap.MetaInfo metaInfo();

代码示例来源:origin: apache/drill

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: actframework/actframework

/**
 * Returns the meta info of this EnhancedAdaptiveMap
 *
 * @return AdaptiveRecord meta info
 */
@Transient
MetaInfo metaInfo();

代码示例来源:origin: com.couchbase.client/core-io

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: org.actframework/act

/**
 * Returns the meta info of this EnhancedAdaptiveMap
 *
 * @return AdaptiveRecord meta info
 */
@Transient
MetaInfo metaInfo();

代码示例来源:origin: io.prestosql/presto-jdbc

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: com.jtbdevelopment.core-games/games

@Override
@Transient
public String getIdAsString() {
 return id;
}

代码示例来源:origin: prestosql/presto

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: com.github.yamingd.argo/argo-util

@Transient
public Integer getPrev(){
  if (this.index > 1){
    return this.index - 1;
  }
  return this.index;
}

代码示例来源:origin: com.facebook.presto/presto-jdbc

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: com.github.endoscope/storage-jdbc

@Transient
  public void setId(String id) {
    this.id = id;
  }
}

代码示例来源:origin: com.jwebmp.jackson.core/jackson-databind

@Override
public Boolean findTransient(Annotated a) {
  Transient t = a.getAnnotation(Transient.class);
  if (t != null) {
    return t.value();
  }
  return null;
}

代码示例来源:origin: org.apache.activemq/activemq-all

@Override
@Transient
public MessageDestination getRegionDestination() {
  return regionDestination;
}

代码示例来源:origin: org.actframework/act

/**
 * Returns the meta info of this AdaptiveRecord
 *
 * @return AdaptiveRecord meta info
 */
@Transient
EnhancedAdaptiveMap.MetaInfo metaInfo();

代码示例来源:origin: org.xwiki.commons/xwiki-commons-extension-api

/**
 * Allow modifying manipulated {@link Extension}s on the fly (change allowed namespaces, dependencies, etc.).
 *
 * @return the filter
 * @since 8.4.2
 * @since 9.0RC1
 */
@Transient
default ExtensionRewriter getRewriter()
{
  return null;
}

代码示例来源:origin: com.github.yamingd.argo/argo-util

/**
 * 有前一页
 * @return boolean
 */
@Transient
public boolean hasPrev(){
  return this.index > 1 && this.pages > 1;
}

相关文章