@Deprecated public class ModelType extends Object
| Constructor and Description |
|---|
ModelType()
Deprecated.
|
ModelType(boolean collection,
String itemsType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ModelType |
collectionModelType(String itemsType)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
String |
getItemsType()
Deprecated.
|
boolean |
isCollection()
Deprecated.
|
static ModelType |
simpleModelType()
Deprecated.
|
public ModelType()
public ModelType(boolean collection,
String itemsType)
public static ModelType collectionModelType(String itemsType)
itemsType - the media type as String for each item in the collectionpublic static ModelType simpleModelType()
public boolean isCollection()
ModelType represents a collection or not.public String getItemsType()
isCollection()
is false) then this value represents the type for each element in the collection.Copyright © 2022. All rights reserved.