java.beans.Transient.<init>()方法的使用及代码示例

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

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

Transient.<init>介绍

暂无

代码示例

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

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

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

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

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

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

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

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

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

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

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

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

代码示例来源:origin: NationalSecurityAgency/lemongrenade

/**
 * Get taskCount() is the number of tasks that this job has regardless of the task status
 * @return int for task map size
 */
@Transient
public int getTaskCount() {
  if (taskMap == null) {
    return 0;
  }
  return taskMap.size();
}

代码示例来源:origin: codeabovelab/haven-platform

@Override
@Transient
public Reader getReader() {
  return new StringReader(text);
}

代码示例来源:origin: eu.limetri.client/mapviewer-weather

@Override
@Transient
public Dimension getPreferredSize() {
  return new Dimension(LEGEND_WIDTH, LEGEND_HEIGHT);
}

代码示例来源:origin: net.sf.ingenias/editor

@Override
@Transient
public Dimension getPreferredSize() {
  return new Dimension(arrowIcon.getIconWidth(),arrowIcon.getIconWidth());
  
}

代码示例来源:origin: org.xwiki.platform/xwiki-platform-model

/**
 * @return the page reference contained in this attachment reference
 */
@Transient
public PageReference getPageReference()
{
  return (PageReference) extractReference(EntityType.PAGE);
}

代码示例来源:origin: org.xwiki.platform/xwiki-platform-model

/**
 * @return the reference of the wiki containing this page
 */
@Transient
public WikiReference getWikiReference()
{
  return (WikiReference) extractReference(EntityType.WIKI);
}

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

@Override
@java.beans.Transient
public EnhancedAdaptiveMap.MetaInfo metaInfo() {
  if (null == metaInfo) {
    synchronized (this) {
      if (null == metaInfo) {
        metaInfo = Util.generateMetaInfo(this);
      }
    }
  }
  return metaInfo;
}

代码示例来源:origin: NationalSecurityAgency/lemongrenade

@Transient
public void removeErrorsByTaskId(String taskId) {
  Iterator<LGJobError> ij = jobErrors.iterator();
  while(ij.hasNext()) {
    LGJobError je =  ij.next();
    String errorTaskId = je.getTaskId();
    if (errorTaskId != null && errorTaskId.equals(taskId)) {
      ij.remove();
    }
  }
}

代码示例来源:origin: NationalSecurityAgency/lemongrenade

@Transient
public int getTTL() {
  JSONObject jc = this.getJobConfigAsJSON();
  if (jc == null) return -1;
  if (jc.has("ttl")) {
    return jc.getInt("ttl");
  }
  return -1;
}

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

@Transient
public void add(Stat details, Date startDate, Date endDate){
  if( details == null ){
    return;
  }
  getHistogram().add( new StatHistory(details, startDate, endDate) );
}

代码示例来源:origin: org.xwiki.platform/xwiki-platform-model

/**
 * @return the root parent of this entity
 */
@Transient
public EntityReference getRoot()
{
  EntityReference reference = this;
  while (reference.getParent() != null) {
    reference = reference.getParent();
  }
  return reference;
}

代码示例来源:origin: com.thinkbiganalytics.kylo/kylo-metadata-api

@Override
@Transient
public String getDescription() {
  return "feed " + getFeedName() + " has executed since " + getCronExpression();
}

代码示例来源:origin: com.thinkbiganalytics.kylo/kylo-metadata-api

@Override
  @Transient
  public String getDescription() {
    return "Datasource " + getDatasourceName() + " has been updated since feed " + getFeedName() + " was last executed";
  }
}

代码示例来源:origin: com.github.endoscope/core

@Transient
public Stat deepCopy(boolean withChildren){
  Stat s = new Stat();
  s.merge(this, withChildren);
  s.setMin(min);
  return s;
}

相关文章