Add javadoc
This commit is contained in:
@@ -46,8 +46,8 @@ public enum ArtworkType {
|
||||
/**
|
||||
* Convert a string into an Enum type
|
||||
*
|
||||
* @param artworkType
|
||||
* @return
|
||||
* @param artworkType String to convert to enum
|
||||
* @return enum version of param
|
||||
* @throws IllegalArgumentException If type is not recognised
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -33,8 +33,8 @@ public enum Gender {
|
||||
/**
|
||||
* Get the gender from an integer type
|
||||
*
|
||||
* @param type
|
||||
* @return
|
||||
* @param type Integer to convert to enum
|
||||
* @return enum version of param
|
||||
*/
|
||||
public static Gender fromInteger(int type) {
|
||||
for (Gender gender : Gender.values()) {
|
||||
|
||||
@@ -48,8 +48,8 @@ public enum MediaType {
|
||||
/**
|
||||
* Convert a string into an Enum type
|
||||
*
|
||||
* @param mediaType
|
||||
* @return
|
||||
* @param mediaType String to convert to enum
|
||||
* @return enum version of param
|
||||
* @throws IllegalArgumentException If type is not recognised
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -45,7 +45,7 @@ public enum MovieMethod implements AppendToResponseMethod {
|
||||
/**
|
||||
* Get the string to use in the URL
|
||||
*
|
||||
* @return
|
||||
* @return the string representation of the enum
|
||||
*/
|
||||
@Override
|
||||
public String getPropertyString() {
|
||||
@@ -55,8 +55,8 @@ public enum MovieMethod implements AppendToResponseMethod {
|
||||
/**
|
||||
* Convert a string into an Enum type
|
||||
*
|
||||
* @param method
|
||||
* @return
|
||||
* @param method String to convert to enum
|
||||
* @return enum version of param
|
||||
* @throws IllegalArgumentException If type is not recognised
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@ public enum PeopleMethod implements AppendToResponseMethod {
|
||||
/**
|
||||
* Get the string to use in the URL
|
||||
*
|
||||
* @return
|
||||
* @return the string representation of the enum
|
||||
*/
|
||||
@Override
|
||||
public String getPropertyString() {
|
||||
@@ -50,8 +50,8 @@ public enum PeopleMethod implements AppendToResponseMethod {
|
||||
/**
|
||||
* Convert a string into an Enum type
|
||||
*
|
||||
* @param method
|
||||
* @return
|
||||
* @param method String to convert to enum
|
||||
* @return enum version of param
|
||||
* @throws IllegalArgumentException If type is not recognised
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -42,8 +42,8 @@ public enum ReleaseType {
|
||||
/**
|
||||
* Get the Release Type from an integer type
|
||||
*
|
||||
* @param type
|
||||
* @return
|
||||
* @param type Integer to convert to enum
|
||||
* @return enum version of param
|
||||
*/
|
||||
public static ReleaseType fromInteger(int type) {
|
||||
for (ReleaseType rt : ReleaseType.values()) {
|
||||
|
||||
@@ -37,7 +37,7 @@ public enum TVEpisodeMethod implements AppendToResponseMethod {
|
||||
/**
|
||||
* Get the string to use in the URL
|
||||
*
|
||||
* @return
|
||||
* @return the string representation of the enum
|
||||
*/
|
||||
@Override
|
||||
public String getPropertyString() {
|
||||
@@ -47,8 +47,8 @@ public enum TVEpisodeMethod implements AppendToResponseMethod {
|
||||
/**
|
||||
* Convert a string into an Enum type
|
||||
*
|
||||
* @param method
|
||||
* @return
|
||||
* @param method String to convert to enum
|
||||
* @return enum version of param
|
||||
* @throws IllegalArgumentException If type is not recognised
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user