このシグネチャでフィルタリングするための列挙型を使用して関数を作成しました。
/**
* Match a profile with other profiles meaning they are similar.
*
* @param profileId
* the profile to match
* @param actuality
* the actuality to use for filtering
* @return a ordered list of the best matching profiles
*/
public Match[] match(String profileId, Actuality actuality)
列挙型は次のようになります。
public enum Actuality {
/** Only show data within 5 days. */
BRAND_NEW,
/** Show data within 45 days. */
NEW,
/** Show all data. */
ALL,
}
JAX-RPCを使用してActuality列挙型をリモート化することは可能ですか?JAX-RPCを使用してこれを行う別の優れた方法(intを渡すだけでなく)を提案できれば、非常に役立ちます。