com.nikedlab.android.inject.Bean Maven / Gradle / Ivy
package com.nikedlab.android.inject;
import java.util.LinkedList;
import java.util.List;
/**
* Created with Comodo Inc.
* User: Kuzmenko Victor
* Date: 8/5/13
* Time: 5:18 PM
*/
public class Bean {
private String id;
private String clazz;
private boolean systemService;
private List args = new LinkedList();
private boolean isSingleton;
public class Args {
private String type;
private String value;
private String referral;
public String getReferral() {
return referral;
}
public void setReferral(String referral) {
this.referral = referral;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public boolean isSingleton() {
return isSingleton;
}
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getClazz() {
return clazz;
}
public void setClazz(String clazz) {
this.clazz = clazz;
}
public List getArgs() {
return args;
}
public void setArgs(Args args) {
this.args.add(args);
}
public boolean isSystemService() {
return systemService;
}
public void setSystemService(boolean systemService) {
this.systemService = systemService;
}
public boolean isSingleton() {
return isSingleton;
}
public void setSingleton(boolean singleton) {
isSingleton = singleton;
}
@Override
public String toString() {
return "Bean{" +
"id='" + id + '\'' +
", clazz='" + clazz + '\'' +
", systemService=" + systemService +
", args=" + args +
", isSingleton=" + isSingleton +
'}';
}
}