Package com.okta.authn.sdk.impl.resource
Class NestedLink
- java.lang.Object
-
- com.okta.sdk.impl.resource.AbstractPropertyRetriever
-
- com.okta.sdk.impl.resource.AbstractResource
-
- com.okta.sdk.impl.resource.AbstractCollectionResource<Link>
-
- com.okta.authn.sdk.impl.resource.NestedLink
-
- All Implemented Interfaces:
Link
,com.okta.sdk.resource.CollectionResource<Link>
,com.okta.sdk.resource.ExtensibleResource
,com.okta.sdk.resource.PropertyRetriever
,com.okta.sdk.resource.Resource
,Iterable<Link>
,Map<String,Object>
public class NestedLink extends com.okta.sdk.impl.resource.AbstractCollectionResource<Link> implements Link
-
-
Constructor Summary
Constructors Constructor Description NestedLink(com.okta.sdk.impl.ds.InternalDataStore dataStore, Map<String,Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getHintsAllow()
String
getHref()
protected Class<Link>
getItemType()
String
getName()
List<Link>
getNestedLinks()
Map<String,com.okta.sdk.impl.resource.Property>
getPropertyDescriptors()
String
getType()
boolean
hasNestedLinks()
Returns true ONLY if this object contains nested links INSTEAD of containing a link itself.-
Methods inherited from class com.okta.sdk.impl.resource.AbstractCollectionResource
getCurrentPage, isEmpty, iterator, single, spliterator, stream, toResource
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractResource
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getPropertyDescriptors
public Map<String,com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in classcom.okta.sdk.impl.resource.AbstractResource
-
hasNestedLinks
public boolean hasNestedLinks()
Description copied from interface:Link
Returns true ONLY if this object contains nested links INSTEAD of containing a link itself.- Specified by:
hasNestedLinks
in interfaceLink
- Returns:
- true if this object contains nested links.
-
getNestedLinks
public List<Link> getNestedLinks()
- Specified by:
getNestedLinks
in interfaceLink
-
getItemType
protected Class<Link> getItemType()
- Specified by:
getItemType
in classcom.okta.sdk.impl.resource.AbstractCollectionResource<Link>
-
getHintsAllow
public List<String> getHintsAllow()
- Specified by:
getHintsAllow
in interfaceLink
-
-