Package com.amazonaws.resources.internal.model

Examples of com.amazonaws.resources.internal.model.ResourceModel


                ids.put(mapping.getTarget(), value);
            }
        }

        ResourceModel refTypeModel =
                serviceModel.getResource(reference.getType());

        return new ResourceImpl(serviceModel, refTypeModel, client, ids);
    }
View Full Code Here


        if (listSize == 0) {
            return Collections.emptyList();
        }

        ResourceModel refTypeModel =
                serviceModel.getResource(reference.getType());

        List<ResourceImpl> rval = new ArrayList<>(listSize);

        for (int i = 0; i < listSize; ++i) {
View Full Code Here

                }
                ids.put(mapping.getTarget(), value);
            }
        }

        ResourceModel refTypeModel = serviceModel.getResource(name);

        return new ResourceImpl(serviceModel, refTypeModel, client, ids);
    }
View Full Code Here

        if (getter.getParameterMapping() != null) {
            ids.put(getter.getParameterMapping().getTarget(), parameter);
        }

        ResourceModel refTypeModel = model.getResource(name);

        return new ResourceImpl(model, refTypeModel, client, ids);
    }
View Full Code Here

    }

    @Override
    public ResourceModel build() {

        return new ResourceModel(identifiers, attributes, references,
                subResourceGetters, collections, loadAction, actions);
    }
View Full Code Here

        List<Object> data = null;
        if (mapping.getPath() != null) {
            data = ReflectionUtils.getAllByPath(result, mapping.getPath());
        }

        ResourceModel refTypeModel =
                context.getServiceModel().getResource(mapping.getType());

        List<ResourceImpl> rval = new ArrayList<>(identifiers.size());

        for (int i = 0; i < identifiers.size(); ++i) {
View Full Code Here

TOP

Related Classes of com.amazonaws.resources.internal.model.ResourceModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.