当前位置: 首页>>代码示例>>Java>>正文


Java ApiModelProperty类代码示例

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


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

示例1: getApiName

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/** Api methods **/

    @Override
    @JsonProperty(value = "name")
    @ApiModelProperty(required = true)
    public String getApiName() {
        return getName();
    }
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:9,代码来源:RequirementPriority.java

示例2: getApiName

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/** Api methods **/

    @Override
    @ApiModelProperty(required = true)
    @JsonProperty(value = "name")
    public String getApiName() {
        return getName();
    }
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:9,代码来源:Requirement.java

示例3: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * 
 * @return List of customAttributes
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(WorkOrder.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:11,代码来源:WorkOrder.java

示例4: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get custom attribute values.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(PortfolioEntryReport.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:PortfolioEntryReport.java

示例5: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get the custom attribute values.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(PortfolioEntryPlanningPackage.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:PortfolioEntryPlanningPackage.java

示例6: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get custom attribute values.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(PortfolioEntry.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:PortfolioEntry.java

示例7: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get custom attribute values.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(PortfolioEntryEvent.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:PortfolioEntryEvent.java

示例8: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get the custom attributes.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(Portfolio.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:Portfolio.java

示例9: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get the custom attribute values.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(PortfolioEntryRisk.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:PortfolioEntryRisk.java

示例10: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get the custom attributes.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String")
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(Actor.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:Actor.java

示例11: getCustomAttributesAsSerializableValues

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
 * Get the custom attributes.
 */
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
    ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
    return customAttributeManagerService.getSerializableValues(OrgUnit.class, id);
}
 
开发者ID:theAgileFactory,项目名称:maf-desktop-datamodel,代码行数:10,代码来源:OrgUnit.java

示例12: getId

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("The id of the dependency")
@JsonProperty("id")
public abstract String getId();
 
开发者ID:cerner,项目名称:beadledom,代码行数:4,代码来源:HealthDependencyDto.java

示例13: isHealthy

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("Indicates the health of the dependency")
@JsonProperty("healthy")
@JsonView({HealthJsonViews.Primary.class, HealthJsonViews.Diagnostic.class})
public abstract boolean isHealthy();
 
开发者ID:cerner,项目名称:beadledom,代码行数:5,代码来源:HealthDependencyDto.java

示例14: isPrimary

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("Indicates if this is a primary dependency of the service")
@JsonProperty("primary")
@JsonView(HealthJsonViews.Diagnostic.class)
public abstract boolean isPrimary();
 
开发者ID:cerner,项目名称:beadledom,代码行数:5,代码来源:HealthDependencyDto.java

示例15: getLinks

import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("Contains hyperlinks to other resources for health check")
@JsonProperty("links")
public abstract Optional<LinksDto> getLinks();
 
开发者ID:cerner,项目名称:beadledom,代码行数:4,代码来源:HealthDependencyDto.java


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