Java 类com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute 实例源码

项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * The date and time when this item was created.
 *
 * @return The date and time.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = "CreateDate")
@DynamoDBTypeConverted(converter = InstantConverter.class)
public Instant getCreatedDate() {
    return createdDate;
}
项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * Returns an attribute that combines the CPC+ processed state and the date of creation.
 *
 * This is mostly useful in the CPC+ global secondary index.
 *
 * @return The combined attribute.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = Constants.DYNAMO_CPC_PROCESSED_CREATE_DATE_ATTRIBUTE)
public String getCpcProcessedCreateDate() {
    String combination = null;

    if (cpcProcessed != null) {
        DateTimeFormatter formatter = DateTimeFormatter.ISO_INSTANT;
        combination = cpcProcessed.toString() + "#" + formatter.format(createdDate);
    }

    return combination;
}
项目:spring-data-dynamodb    文件:DynamoDBEntityMetadataSupport.java   
public String getOverriddenAttributeName(Method method) {

        if (method != null) {
            if (method.getAnnotation(DynamoDBAttribute.class) != null
                    && StringUtils.isNotEmpty(method.getAnnotation(DynamoDBAttribute.class).attributeName())) {
                return method.getAnnotation(DynamoDBAttribute.class).attributeName();
            }
            if (method.getAnnotation(DynamoDBHashKey.class) != null
                    && StringUtils.isNotEmpty(method.getAnnotation(DynamoDBHashKey.class).attributeName())) {
                return method.getAnnotation(DynamoDBHashKey.class).attributeName();
            }
            if (method.getAnnotation(DynamoDBRangeKey.class) != null
                    && StringUtils.isNotEmpty(method.getAnnotation(DynamoDBRangeKey.class).attributeName())) {
                return method.getAnnotation(DynamoDBRangeKey.class).attributeName();
            }
            if (method.getAnnotation(DynamoDBIndexRangeKey.class) != null
                    && StringUtils.isNotEmpty(method.getAnnotation(DynamoDBIndexRangeKey.class).attributeName())) {
                return method.getAnnotation(DynamoDBIndexRangeKey.class).attributeName();
            }
            if (method.getAnnotation(DynamoDBIndexHashKey.class) != null
                    && StringUtils.isNotEmpty(method.getAnnotation(DynamoDBIndexHashKey.class).attributeName())) {
                return method.getAnnotation(DynamoDBIndexHashKey.class).attributeName();
            }
            if (method.getAnnotation(DynamoDBVersionAttribute.class) != null
                    && StringUtils.isNotEmpty(method.getAnnotation(DynamoDBVersionAttribute.class).attributeName())) {
                return method.getAnnotation(DynamoDBVersionAttribute.class).attributeName();
            }
        }
        return null;

    }
项目:openhab1-addons    文件:DynamoDBBigDecimalItem.java   
@DynamoDBAttribute(attributeName = DynamoDBItem.ATTRIBUTE_NAME_ITEMSTATE)
@Override
public BigDecimal getState() {
    // When serializing this to the wire, we round the number in order to ensure
    // that it is within the dynamodb limits
    return loseDigits(state);
}
项目:alexa-skill-java    文件:Person.java   
@DynamoDBAttribute
public String getName() {
    return name;
}
项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * The NPI associated with the the conversion.
 *
 * @return The NPI.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = "Npi")
public String getNpi() {
    return npi;
}
项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * The APM Entity ID associated with the the conversion. Used with CPC+.
 *
 * @return The APM Entity ID.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = "Apm")
public String getApm() {
    return apm;
}
项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * The submission year associated with the the conversion.
 *
 * @return The submission year.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = "SubmissionYear")
public Long getSubmissionYear() {
    return submissionYear;
}
项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * The success or failure of the conversion and the submission validation.
 *
 * @return Success or failure.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = "OverallStatus")
public Boolean getOverallStatus() {
    return overallStatus;
}
项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * The success or failure of only the conversion.
 *
 * @return Success or failure.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = "ConversionStatus")
public Boolean getConversionStatus() {
    return conversionStatus;
}
项目:qpp-conversion-tool    文件:Metadata.java   
/**
 * The success or failure of only the submission validation.
 *
 * @return Success or failure.
 */
@DoNotEncrypt
@DynamoDBAttribute(attributeName = "ValidationStatus")
public Boolean getValidationStatus() {
    return validationStatus;
}
项目:dynamodb-java-helloworld    文件:Book.java   
@DynamoDBAttribute
public String getName() {
    return name;
}
项目:dynamodb-java-helloworld    文件:Book.java   
@DynamoDBAttribute
public String getIsbn() {
    return isbn;
}
项目:dynamodb-java-helloworld    文件:Book.java   
@DynamoDBAttribute
public String getCost() {
    return cost;
}
项目:aws-amazon-shopping-bot-lambda-func    文件:OrderItem.java   
@Override
@DynamoDBAttribute(attributeName = "product")
public String getProduct() {
    return super.getProduct();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:OrderItem.java   
@Override
@DynamoDBAttribute(attributeName = "amount")
public Double getAmount() {
    return super.getAmount();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:OrderItem.java   
@Override
@DynamoDBAttribute(attributeName = "unit")
public String getUnit() {
    return super.getUnit();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:OrderItem.java   
@Override
@DynamoDBAttribute(attributeName = "price")
public double getPrice() {
    return super.getPrice();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:Order.java   
@DynamoDBAttribute(attributeName = "status")
public String getStatus() {
    return status;
}
项目:aws-amazon-shopping-bot-lambda-func    文件:Order.java   
@Override
@DynamoDBAttribute(attributeName = "user_id")
public String getUserId() {
    return super.getUserId();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:Order.java   
@Override
@DynamoDBAttribute(attributeName = "updated_on")
public String getUpdatedOn() {
    return super.getUpdatedOn();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:Order.java   
@Override
@DynamoDBAttribute(attributeName = "items")
@DynamoDBTypeConverted(converter = OrderItemConverter.class)
public List<OrderItem> getItems() {
    return super.getItems();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:ShoppingCartItem.java   
@Override
@DynamoDBAttribute(attributeName = "product")
public String getProduct() {
    return super.getProduct();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:ShoppingCartItem.java   
@Override
@DynamoDBAttribute(attributeName = "amount")
public Double getAmount() {
    return super.getAmount();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:ShoppingCartItem.java   
@Override
@DynamoDBAttribute(attributeName = "unit")
public String getUnit() {
    return super.getUnit();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:ShoppingCartItem.java   
@Override
@DynamoDBAttribute(attributeName = "price")
public double getPrice() {
    return super.getPrice();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:Product.java   
@DynamoDBTypeConverted(converter = UnitPriceConverter.class)
@DynamoDBAttribute(attributeName = "unit_prices")
public List<UnitPrice> getUnitPrices() {
    return unitPrices;
}
项目:aws-amazon-shopping-bot-lambda-func    文件:User.java   
@DynamoDBAttribute(attributeName = "first_name")
public String getFirstName() {
    return firstName;
}
项目:aws-amazon-shopping-bot-lambda-func    文件:User.java   
@DynamoDBAttribute(attributeName = "last_name")
public String getLastName() {
    return lastName;
}
项目:aws-amazon-shopping-bot-lambda-func    文件:User.java   
@DynamoDBAttribute(attributeName = "address")
public String getAddress() {
    return address;
}
项目:aws-amazon-shopping-bot-lambda-func    文件:User.java   
@DynamoDBAttribute(attributeName = "facebook_id")
public String getFacebookId() {
    return facebookId;
}
项目:aws-amazon-shopping-bot-lambda-func    文件:ShoppingCart.java   
@Override
@DynamoDBAttribute(attributeName = "updated_on")
public String getUpdatedOn() {
    return super.getUpdatedOn();
}
项目:aws-amazon-shopping-bot-lambda-func    文件:ShoppingCart.java   
@Override
@DynamoDBAttribute(attributeName = "items")
@DynamoDBTypeConverted(converter = ShoppingCartItemConverter.class)
public List<ShoppingCartItem> getItems() {
    return super.getItems();
}
项目:Java-9-Programming-Blueprints    文件:Recipient.java   
@DynamoDBAttribute(attributeName = "type")
public String getType() {
    return type;
}
项目:Java-9-Programming-Blueprints    文件:Recipient.java   
@DynamoDBAttribute(attributeName="address")
public String getAddress() {
    return address;
}
项目:plano    文件:DynamoDBPlanoRequest.java   
@DynamoDBTypeConvertedTimestamp()
@DynamoDBAttribute(attributeName = "ExecutionTime")
public Date getExecutionTime() {
    return executionTime;
}
项目:plano    文件:DynamoDBPlanoRequest.java   
@DynamoDBTypeConvertedTimestamp
@DynamoDBAttribute(attributeName = "LockExpireTime", mappedBy = "N")
public Date getLockExpireTime() {
    return lockExpireTime;
}
项目:serverless    文件:Book.java   
@DynamoDBAttribute
public String getName() {
    return name;
}
项目:serverless    文件:Book.java   
@DynamoDBAttribute
public String getIsbn() {
    return isbn;
}
项目:serverless    文件:Book.java   
@DynamoDBAttribute
public String getCost() {
    return cost;
}