APPS ExtraAttr UPDATE

APPS ExtraAttr UPDATE
This commit is contained in:
shimingxy
2020-03-01 14:24:05 +08:00
parent fba86d2577
commit 1d9f3a747d
18 changed files with 193 additions and 245 deletions

View File

@@ -13,6 +13,10 @@ public class ExtraAttr {
String type;
String value;
public ExtraAttr() {
super();
}
public ExtraAttr(String attr, String value) {
super();
this.attr = attr;

View File

@@ -40,6 +40,13 @@ public class ExtraAttrs {
this.extraAttrs.add(new ExtraAttr(attr,value));
}
public void put(String attr,String type,String value) {
if(extraAttrs==null){
extraAttrs=new ArrayList<ExtraAttr>();
}
this.extraAttrs.add(new ExtraAttr(attr,type,value));
}
public String get(String attr) {
String value=null;
if(extraAttrs!=null&& extraAttrs.size()!=0){

View File

@@ -99,8 +99,6 @@ public class Apps extends JpaBaseDomain implements Serializable{
*/
private int isExtendAttr;
private String extendAttr;
private String attribute;
private String attributeValue;
/**
* Signature
@@ -492,54 +490,6 @@ public class Apps extends JpaBaseDomain implements Serializable{
this.extendAttr = extendAttr;
}
/**
* @return the attribute
*/
public String getAttribute() {
return attribute;
}
/**
* @param attribute the attribute to set
*/
public void setAttribute(String attribute) {
this.attribute = attribute;
}
/**
* @return the attributeValue
*/
public String getAttributeValue() {
return attributeValue;
}
/**
* @param attributeValue the attributeValue to set
*/
public void setAttributeValue(String attributeValue) {
this.attributeValue = attributeValue;
}
public int getVisible() {
return visible;
}
@@ -665,8 +615,7 @@ public class Apps extends JpaBaseDomain implements Serializable{
+ ", credential=" + credential + ", sharedUsername="
+ sharedUsername + ", sharedPassword=" + sharedPassword
+ ", systemUserAttr=" + systemUserAttr + ", isExtendAttr="
+ isExtendAttr + ", extendAttr=" + extendAttr + ", attribute="
+ attribute + ", attributeValue=" + attributeValue
+ isExtendAttr + ", extendAttr=" + extendAttr
+ ", isSignature=" + isSignature
+ "]";
}