Class DefaultLink

  • All Implemented Interfaces:
    Link, com.okta.sdk.resource.ExtensibleResource, com.okta.sdk.resource.PropertyRetriever, com.okta.sdk.resource.Resource, java.util.Map<java.lang.String,​java.lang.Object>

    public class DefaultLink
    extends com.okta.sdk.impl.resource.AbstractResource
    implements Link
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from class com.okta.sdk.impl.resource.AbstractResource

        properties
      • Fields inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever

        readLock, writeLock
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultLink​(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,​java.lang.Object> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getHintsAllow()  
      java.lang.String getHref()  
      java.lang.String getName()  
      java.util.List<Link> getNestedLinks()  
      java.util.Map<java.lang.String,​com.okta.sdk.impl.resource.Property> getPropertyDescriptors()  
      java.lang.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.AbstractResource

        clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, 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
      • Methods inherited from interface com.okta.sdk.resource.PropertyRetriever

        getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
      • Methods inherited from interface com.okta.sdk.resource.Resource

        getResourceHref, setResourceHref
    • Constructor Detail

      • DefaultLink

        public DefaultLink​(com.okta.sdk.impl.ds.InternalDataStore dataStore,
                           java.util.Map<java.lang.String,​java.lang.Object> properties)
    • Method Detail

      • getPropertyDescriptors

        public java.util.Map<java.lang.String,​com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
        Specified by:
        getPropertyDescriptors in class com.okta.sdk.impl.resource.AbstractResource
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Link
      • getType

        public java.lang.String getType()
        Specified by:
        getType in interface Link
      • getHintsAllow

        public java.util.List<java.lang.String> getHintsAllow()
        Specified by:
        getHintsAllow in interface Link
      • getHref

        public java.lang.String getHref()
        Specified by:
        getHref in interface Link
      • 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 interface Link
        Returns:
        true if this object contains nested links.
      • getNestedLinks

        public java.util.List<Link> getNestedLinks()
        Specified by:
        getNestedLinks in interface Link