• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java MapsTo类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.jboss.errai.common.client.api.annotations.MapsTo的典型用法代码示例。如果您正苦于以下问题:Java MapsTo类的具体用法?Java MapsTo怎么用?Java MapsTo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



MapsTo类属于org.jboss.errai.common.client.api.annotations包,在下文中一共展示了MapsTo类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: PreferenceHierarchyElement

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public PreferenceHierarchyElement(@MapsTo("id") final String id,
                                  @MapsTo("portablePreference") final BasePreferencePortable<T> portablePreference,
                                  @MapsTo("children") final List<PreferenceHierarchyElement<?>> children,
                                  @MapsTo("shared") final boolean shared,
                                  @MapsTo("root") final boolean root,
                                  @MapsTo("bundleKey") final String bundleKey,
                                  @MapsTo("bundleKeyByProperty") final Map<String, String> bundleKeyByProperty,
                                  @MapsTo("helpBundleKeyByProperty") final Map<String, String> helpBundleKeyByProperty,
                                  @MapsTo("formOptionsByProperty") final Map<String, PropertyFormOptions[]> formOptionsByProperty) {
    this.id = id;
    this.portablePreference = portablePreference;
    this.children = children;
    this.shared = shared;
    this.root = root;
    this.bundleKey = bundleKey;
    this.bundleKeyByProperty = bundleKeyByProperty;
    this.helpBundleKeyByProperty = helpBundleKeyByProperty;
    this.formOptionsByProperty = formOptionsByProperty;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:20,代码来源:PreferenceHierarchyElement.java


示例2: DefaultContentImpl

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public DefaultContentImpl(@MapsTo("id") final String id,
                          @MapsTo("title") final String title,
                          @MapsTo("description") final String description,
                          @MapsTo("roles") final Set<Role> roles,
                          @MapsTo("properties") final Set<Property> properties) {
    this.id = PortablePreconditions.checkNotNull("id",
                                                 id);
    this.title = PortablePreconditions.checkNotNull("title",
                                                    title);
    this.description = PortablePreconditions.checkNotNull("description",
                                                          description);
    this.roles = PortablePreconditions.checkNotNull("roles",
                                                    roles);
    this.properties = PortablePreconditions.checkNotNull("properties",
                                                         properties);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:17,代码来源:DefaultContentImpl.java


示例3: DefaultPropertyImpl

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public DefaultPropertyImpl(@MapsTo("id") final String id,
                           @MapsTo("type") final Type type,
                           @MapsTo("caption") final String caption,
                           @MapsTo("description") final String description,
                           @MapsTo("isReadOnly") final boolean isReadOnly,
                           @MapsTo("isOptional") final boolean isOptional) {
    this.id = PortablePreconditions.checkNotNull("id",
                                                 id);
    this.type = PortablePreconditions.checkNotNull("type",
                                                   type);
    this.caption = PortablePreconditions.checkNotNull("caption",
                                                      caption);
    this.description = PortablePreconditions.checkNotNull("description",
                                                          description);
    this.isReadOnly = isReadOnly;
    this.isOptional = isOptional;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:18,代码来源:DefaultPropertyImpl.java


示例4: PullRequestImpl

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public PullRequestImpl(@MapsTo("id") final long id,
                       @MapsTo("sourceRepository") final String sourceRepository,
                       @MapsTo("sourceBranch") final String sourceBranch,
                       @MapsTo("targetRepository") final String targetRepository,
                       @MapsTo("targetBranch") final String targetBranch,
                       @MapsTo("status") final PullRequestStatus status) {

    this.id = id;
    this.sourceRepository = checkNotEmpty("sourceRepository",
                                          sourceRepository);
    this.sourceBranch = checkNotEmpty("sourceBranch",
                                      sourceBranch);
    this.targetRepository = checkNotEmpty("targetRepository",
                                          targetRepository);
    this.targetBranch = checkNotEmpty("targetBranch",
                                      targetBranch);
    this.status = checkNotNull("status",
                               status);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:20,代码来源:PullRequestImpl.java


示例5: DecisionTable

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public DecisionTable(final @MapsTo("id") Id id,
                     final @MapsTo("description") Description description,
                     final @MapsTo("typeRef") QName typeRef,
                     final @MapsTo("input") List<InputClause> input,
                     final @MapsTo("output") List<OutputClause> output,
                     final @MapsTo("rule") List<DecisionRule> rule,
                     final @MapsTo("hitPolicy") HitPolicy hitPolicy,
                     final @MapsTo("aggregation") BuiltinAggregator aggregation,
                     final @MapsTo("preferredOrientation") DecisionTableOrientation preferredOrientation,
                     final @MapsTo("outputLabel") String outputLabel) {
    super(id,
          description,
          typeRef);
    this.input = input;
    this.output = output;
    this.rule = rule;
    this.hitPolicy = hitPolicy;
    this.aggregation = aggregation;
    this.preferredOrientation = preferredOrientation;
    this.outputLabel = outputLabel;
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:22,代码来源:DecisionTable.java


示例6: StartMessageEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public StartMessageEvent(final @MapsTo("general") BPMNGeneralSet general,
                         final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
                         final @MapsTo("fontSet") FontSet fontSet,
                         final @MapsTo("dimensionsSet") CircleDimensionSet dimensionsSet,
                         final @MapsTo("simulationSet") SimulationAttributeSet simulationSet,
                         final @MapsTo("dataIOSet") DataIOSet dataIOSet,
                         final @MapsTo("executionSet") InterruptingMessageEventExecutionSet executionSet) {

    super(general,
          backgroundSet,
          fontSet,
          dimensionsSet,
          simulationSet);
    this.dataIOSet = dataIOSet;
    this.executionSet = executionSet;
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:17,代码来源:StartMessageEvent.java


示例7: PropertyImpl

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public PropertyImpl(final @MapsTo("id") String id,
                    final @MapsTo("caption") String caption,
                    final @MapsTo("description") String description,
                    final @MapsTo("isReadOnly") boolean isReadOnly,
                    final @MapsTo("isOptional") boolean isOptional,
                    final @MapsTo("defaultValue") C defaultValue,
                    final @MapsTo("value") C value,
                    final @MapsTo("type") PropertyType type) {
    this.id = PortablePreconditions.checkNotNull("id",
                                                 id);
    this.caption = PortablePreconditions.checkNotNull("caption",
                                                      caption);
    this.description = PortablePreconditions.checkNotNull("description",
                                                          description);
    this.type = PortablePreconditions.checkNotNull("type",
                                                   type);
    this.isReadOnly = isReadOnly;
    this.isOptional = isOptional;
    this.defaultValue = defaultValue;
    this.value = value;
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:22,代码来源:PropertyImpl.java


示例8: DefinitionImpl

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public DefinitionImpl(final @MapsTo("id") String id,
                      final @MapsTo("category") String category,
                      final @MapsTo("title") String title,
                      final @MapsTo("description") String description,
                      final @MapsTo("labels") Set<String> labels,
                      final @MapsTo("propertySets") Set<Object> propertySets,
                      final @MapsTo("nameProperty") PropertyImpl nameProperty,
                      final @MapsTo("properties") Set<Object> properties) {
    this.category = PortablePreconditions.checkNotNull("category",
                                                       category);
    this.nameProperty = PortablePreconditions.checkNotNull("nameProperty",
                                                           nameProperty);
    this.title = PortablePreconditions.checkNotNull("title",
                                                    title);
    this.description = PortablePreconditions.checkNotNull("description",
                                                          description);
    this.labels = PortablePreconditions.checkNotNull("labels",
                                                     labels);
    this.id = PortablePreconditions.checkNotNull("id",
                                                 id);
    this.propertySets = PortablePreconditions.checkNotNull("propertySets",
                                                           propertySets);
    this.properties = PortablePreconditions.checkNotNull("properties",
                                                         properties);
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:26,代码来源:DefinitionImpl.java


示例9: GitHubFileListAttributeBean

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public GitHubFileListAttributeBean(@MapsTo("name") String fileName, @MapsTo("download_url")String url, @MapsTo("type")String type, @MapsTo("sha")String sha) {
	
	this.attributeName = fileName;
	this.attributeUrl = url;
	this.attributeType = type;
	this.attributeSha = sha;
}
 
开发者ID:geowe,项目名称:sig-seguimiento-vehiculos,代码行数:8,代码来源:GitHubFileListAttributeBean.java


示例10: SplashScreenFilterImpl

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public SplashScreenFilterImpl(@MapsTo("name") final String name,
                              @MapsTo("displayNextTime") final boolean displayNextTime,
                              @MapsTo("interceptionPoints") final Collection<String> interceptionPoints) {
    this.name = name;
    this.displayNextTime = displayNextTime;
    this.interceptionPoints.addAll(interceptionPoints);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:8,代码来源:SplashScreenFilterImpl.java


示例11: Notification

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public Notification(@MapsTo("type") NotificationType type,
                    @MapsTo("message") String message,
                    @MapsTo("timestamp") Date timestamp,
                    @MapsTo("state") State state) {
    this.type = Assert.notNull(type);
    this.message = Assert.notNull(message);
    this.timestamp = Assert.notNull(timestamp);
    this.state = Assert.notNull(state);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:10,代码来源:Notification.java


示例12: ResourceAddedEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public ResourceAddedEvent(@MapsTo("path") final Path path,
                          @MapsTo("message") final String message,
                          @MapsTo("sessionInfo") final SessionInfo sessionInfo) {
    super(message);
    this.path = checkNotNull("path",
                             path);
    this.sessionInfo = checkNotNull("sessionInfo",
                                    sessionInfo);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:10,代码来源:ResourceAddedEvent.java


示例13: ResourceCopiedEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public ResourceCopiedEvent(@MapsTo("sourcePath") final Path sourcePath,
                           @MapsTo("destinationPath") final Path destinationPath,
                           @MapsTo("message") final String message,
                           @MapsTo("sessionInfo") final SessionInfo sessionInfo) {
    super(destinationPath,
          message);
    this.sourcePath = checkNotNull("sourcePath",
                                   sourcePath);
    this.sessionInfo = checkNotNull("sessionInfo",
                                    sessionInfo);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:12,代码来源:ResourceCopiedEvent.java


示例14: ResourceUpdatedEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public ResourceUpdatedEvent(@MapsTo("path") final Path path,
                            @MapsTo("message") final String message,
                            @MapsTo("sessionInfo") final SessionInfo sessionInfo) {
    super(message);
    this.path = checkNotNull("path",
                             path);
    this.sessionInfo = checkNotNull("sessionInfo",
                                    sessionInfo);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:10,代码来源:ResourceUpdatedEvent.java


示例15: ResourceOpenedEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public ResourceOpenedEvent(@MapsTo("path") final Path path,
                           @MapsTo("sessionInfo") final SessionInfo sessionInfo) {
    this.path = checkNotNull("path",
                             path);
    this.sessionInfo = checkNotNull("sessionInfo",
                                    sessionInfo);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:8,代码来源:ResourceOpenedEvent.java


示例16: ResourceRenamedEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public ResourceRenamedEvent(@MapsTo("sourcePath") final Path sourcePath,
                            @MapsTo("destinationPath") final Path destinationPath,
                            @MapsTo("message") final String message,
                            @MapsTo("sessionInfo") final SessionInfo sessionInfo) {
    super(destinationPath,
          message);
    this.sourcePath = checkNotNull("sourcePath",
                                   sourcePath);
    this.sessionInfo = checkNotNull("sessionInfo",
                                    sessionInfo);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:12,代码来源:ResourceRenamedEvent.java


示例17: ResourceDeletedEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public ResourceDeletedEvent(@MapsTo("path") final Path path,
                            @MapsTo("message") final String message,
                            @MapsTo("sessionInfo") final SessionInfo sessionInfo) {
    super(message);
    this.path = checkNotNull("path",
                             path);
    this.sessionInfo = checkNotNull("executedBy",
                                    sessionInfo);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:10,代码来源:ResourceDeletedEvent.java


示例18: ResourceBatchChangesEvent

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public ResourceBatchChangesEvent(@MapsTo("batch") final Map<Path, Collection<ResourceChange>> batch,
                                 @MapsTo("message") final String message,
                                 @MapsTo("sessionInfo") final SessionInfo sessionInfo) {
    checkNotNull("batch",
                 batch);
    this.batch.putAll(batch);
    this.message = message;
    this.sessionInfo = checkNotNull("sessionInfo",
                                    sessionInfo);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:11,代码来源:ResourceBatchChangesEvent.java


示例19: LockInfo

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public LockInfo(@MapsTo("locked") boolean locked,
                @MapsTo("lockedBy") String lockedBy,
                @MapsTo("file") Path file) {

    this(locked,
         lockedBy,
         file,
         null);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:10,代码来源:LockInfo.java


示例20: PreferenceScopeImpl

import org.jboss.errai.common.client.api.annotations.MapsTo; //导入依赖的package包/类
public PreferenceScopeImpl(@MapsTo("type") final String type,
                           @MapsTo("key") final String key,
                           @MapsTo("childScope") final PreferenceScope childScope) {
    this.type = type;
    this.key = key;
    this.childScope = childScope;
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:8,代码来源:PreferenceScopeImpl.java



注:本文中的org.jboss.errai.common.client.api.annotations.MapsTo类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java PhoneAuthProvider类代码示例发布时间:2022-05-23
下一篇:
Java ScatterChartRenderer类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap