Class ClassifiedValueKeySourceMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess.ClassifiedValueKeySourceMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable,Cloneable
public class ClassifiedValueKeySourceMetaData
extends Object
implements QSupplementalInstanceMetaData, Cloneable
One key source per instance. Register through ofOrWithNew; configuration cannot be replaced.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone configuration, retaining the explicitly supplied service instance.Getter for keySourceLoad once per metadata instance, never cache a session decision here.getName()Supplemental metadata name.Find the configured policy, if any.ofOrWithNew(QInstance instance) Get or register the policy metadata.voidvalidate(QInstance instance, QInstanceValidator validator) Validate the configured code reference.withKeySource(QCodeReference keySource) Configure a code reference.withKeySourceInstance(ClassifiedValueKeySource keySourceInstance) Configure the single explicit key source instance.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.QSupplementalInstanceMetaData
addSelfToInstance, enrich
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ClassifiedValueKeySourceMetaData
public ClassifiedValueKeySourceMetaData()
-
-
Method Details
-
of
Find the configured policy, if any. -
ofOrWithNew
Get or register the policy metadata. -
getName
Supplemental metadata name.- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
getKeySource
Getter for keySource -
withKeySource
Configure a code reference. -
withKeySourceInstance
public ClassifiedValueKeySourceMetaData withKeySourceInstance(ClassifiedValueKeySource keySourceInstance) Configure the single explicit key source instance. -
getKeySourceInstance
Load once per metadata instance, never cache a session decision here. -
validate
Validate the configured code reference.- Specified by:
validatein interfaceQSupplementalInstanceMetaData
-
clone
Clone configuration, retaining the explicitly supplied service instance.
-