Class urn_perun_resource_attribute_def_def_userSettingsName
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.ResourceAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_resource_attribute_def_def_userSettingsName
- All Implemented Interfaces:
AttributesModuleImplApi, ResourceAttributesModuleImplApi
public class urn_perun_resource_attribute_def_def_userSettingsName
extends ResourceAttributesModuleAbstract
implements ResourceAttributesModuleImplApi
- Author:
- Vojtech Sassmann <vojtech.sassmann@gmail.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfillAttribute(PerunSessionImpl session, Resource resource, AttributeDefinition attribute) This method tries to fill a value of the resource attribute.Return attributes definition which is represented by the moduleMethods inherited from class ResourceAttributesModuleAbstract
changedAttributeHook, checkAttributeSemantics, checkAttributeSyntaxMethods inherited from class AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from interface ResourceAttributesModuleImplApi
changedAttributeHook, checkAttributeSemantics, checkAttributeSyntax
-
Constructor Details
-
urn_perun_resource_attribute_def_def_userSettingsName
public urn_perun_resource_attribute_def_def_userSettingsName()
-
-
Method Details
-
fillAttribute
public Attribute fillAttribute(PerunSessionImpl session, Resource resource, AttributeDefinition attribute) Description copied from interface:ResourceAttributesModuleImplApiThis method tries to fill a value of the resource attribute. Value may be copied from some facility attribute.- Specified by:
fillAttributein interfaceResourceAttributesModuleImplApi- Overrides:
fillAttributein classResourceAttributesModuleAbstract- Parameters:
session- perun sessionresource- resource, attribute of which you want to fillattribute- attribute to fill. If attributes already have set value, this value won't be overwriten. This means the attribute value must be empty otherwise this method won't fill it.- Returns:
- attribute which MAY have filled value
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-