public final class Affordance extends Object implements Iterable<AffordanceModel>
AffordanceModels for all supported media types.| Constructor and Description |
|---|
Affordance(Map<MediaType,AffordanceModel> models) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
<T extends AffordanceModel> |
getAffordanceModel(MediaType mediaType)
Look up the
AffordanceModel for the requested MediaType. |
int |
hashCode() |
Iterator<AffordanceModel> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Affordance(Map<MediaType,AffordanceModel> models)
@Nullable public <T extends AffordanceModel> T getAffordanceModel(MediaType mediaType)
AffordanceModel for the requested MediaType.mediaType - public Iterator<AffordanceModel> iterator()
iterator in interface Iterable<AffordanceModel>Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.