Back to project page android-weblogic-monitor.
The source code is released under:
GNU General Public License
If you think the Android project android-weblogic-monitor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * ************************************************************************* *// ww w. ja v a2 s. c o m * Copyright (c) 2013 - Jeffrey A. West Designs * * This code is provided for example purposes only. Neither Oracle nor * Jeffrey A. West assume any responsibility or liability for the consequences * of using this code. If you choose to use this code for any reason, * including but not limited to its use as an example you do so at your own * risk and without the support of Oracle. * * This code is provided under the following licenses: * - GNU General Public License (GPL-2.0) * * ************************************************************************** */ package com.jeffreyawest.weblogic.entity; import com.fasterxml.jackson.annotation.JsonProperty; import com.jeffreyawest.weblogic.entity.enums.DatasourceType; import java.util.List; /** * Created by jeffreyawest on 8/9/13. */ public class Datasource extends WebLogicEntity { private static final String LOG_TAG = "Datasource"; @JsonProperty protected List<DatasourceInstance> instances; @JsonProperty protected String name; @JsonProperty protected DatasourceType type; public List<DatasourceInstance> getInstances() { return instances; } public String getName() { return name; } public DatasourceType getType() { return type; } @Override public String listViewString() { return name + " / " + type; } @Override public String toString() { return "Datasource{" + "instances=" + instances + ", name='" + name + '\'' + ", type='" + type + '\'' + '}'; } }