本文整理汇总了Java中com.redhat.lightblue.generator.Required类的典型用法代码示例。如果您正苦于以下问题:Java Required类的具体用法?Java Required怎么用?Java Required使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Required类属于com.redhat.lightblue.generator包,在下文中一共展示了Required类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setDomain
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Identity
@Required
@Description("Identifies a set of configuration values. Since all config is contained in a " +
"single document in a collection, it is necessary to know how to refer to that " +
"document: you refer to it by its domain.")
public void setDomain(String domain) {
this.domain = domain;
}
示例2: setEntityName
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setEntityName(String entityName) {
this.entityName = entityName;
}
示例3: setEntityVersion
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setEntityVersion(String entityVersion) {
this.entityVersion = entityVersion;
}
示例4: setStatus
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setStatus(Status status) {
this.status = status;
}
示例5: setOperation
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setOperation(Operation operation) {
this.operation = operation;
}
示例6: setClientRequestDate
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Description("The date the client request was made that this notification is representing.")
@Required
public void setClientRequestDate(Date clientRequestDate) {
this.clientRequestDate = clientRequestDate;
}
示例7: setPath
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Description("A path as in the lightblue query and projection language. For example: " +
"'path.to.array.0.field'. Must point to primitive fields.")
@Required
public void setPath(String path) {
this.path = path;
}
示例8: isRequired
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Override
public boolean isRequired() {
return property.getWriteMethod().isAnnotationPresent(Required.class);
}
示例9: setCanonicalType
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setCanonicalType(String canonicalType) {
this.canonicalType = canonicalType;
}
示例10: setParameters
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
@MinItems(1)
public void setParameters(List<KeyAndValue> parameters) {
this.parameters = parameters;
}
示例11: setCreationDate
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setCreationDate(ZonedDateTime creationDate) {
this.creationDate = creationDate;
}
示例12: setPriority
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setPriority(Integer priority) {
this.priority = priority;
}
示例13: setKey
import com.redhat.lightblue.generator.Required; //导入依赖的package包/类
@Required
public void setKey(String key) {
this.key = key;
}