Created
May 8, 2014 12:06
-
-
Save guodong1111/9ff9d11044ca25648605 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.chocolabs.sinkuan.pojo; | |
public class ChocoDeepLinking<T extends Enum<?>> { | |
private String appName; | |
private String pageName; | |
private T action; | |
private String[] keyWord; | |
public ChocoDeepLinking(String appName, String pageName, String action, | |
String... keyWord) { | |
this.appName = appName; | |
this.pageName = pageName; | |
setAction(action); | |
this.keyWord = keyWord; | |
} | |
public String getAppName() { | |
return appName; | |
} | |
public void setAppName(String appName) { | |
this.appName = appName; | |
} | |
public String getPageName() { | |
return pageName; | |
} | |
public void setPageName(String pageName) { | |
this.pageName = pageName; | |
} | |
public T getAction() { | |
return action; | |
} | |
public void setAction(String action) { | |
this.action = Enum.valueOf(, action); | |
} | |
public String[] getKeyWord() { | |
return keyWord; | |
} | |
public void setKeyWord(String... keyWord) { | |
this.keyWord = keyWord; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment