module Oid::ApplicationService::Helper
Defined in:
Instance Method Summary
-
#add_application_service(instance : Oid::Service::Application) : Entitas::Entity
Add a
Oid::ApplicationService
to the entity. -
#add_component_application_service : Entitas::Entity
Add a
Oid::ApplicationService
to the entity. -
#add_component_application_service(**args) : Entitas::Entity
Add a
Oid::ApplicationService
to the entity. -
#application_service : Oid::ApplicationService
Will return the component that is a
Oid::ApplicationService
or raise -
#application_service? : Bool
Alias.
-
#del_application_service : Entitas::Entity
Delete
Oid::ApplicationService
from the entity. -
#del_component_application_service : Entitas::Entity
Delete
Oid::ApplicationService
from the entity. -
#get_component_application_service : Oid::ApplicationService
Will return the component that is a
Oid::ApplicationService
or raise -
#has_application_service? : Bool
Will return true if the entity has an component
Oid::ApplicationService
or false if it does not -
#has_component_application_service? : Bool
Will return true if the entity has an component
Oid::ApplicationService
or false if it does not -
#remove_application_service
Append.
-
#remove_component_application_service
Append.
-
#replace_application_service(instance : Oid::Service::Application)
Will replace the current component with the new one generated from the provided arguments
-
#replace_application_service(component : Oid::ApplicationService)
Will replace the current component with the new one provided
-
#replace_component_application_service(component : Oid::ApplicationService)
Append.
-
#replace_component_application_service(**args)
Will replace the current component with the new one generated from the provided arguments
Instance Method Detail
Add a Oid::ApplicationService
to the entity. Returns self
to allow chainables
entity.add_application_service(1)
Add a Oid::ApplicationService
to the entity. Returns self
to allow chainables
entity.add_component_application_service
Add a Oid::ApplicationService
to the entity. Returns self
to allow chainables
entity.add_component_application_service
Will return the component that is a Oid::ApplicationService
or raise
Delete Oid::ApplicationService
from the entity. Returns self
to allow chainables
entity.del_application_service
entity.application_service # => nil
Delete Oid::ApplicationService
from the entity. Returns self
to allow chainables
entity.del_application_service
entity.application_service # => nil
Will return the component that is a Oid::ApplicationService
or raise
Will return true if the entity has an component Oid::ApplicationService
or false if it does not
Will return true if the entity has an component Oid::ApplicationService
or false if it does not
Will replace the current component with the new one generated from the provided arguments
entity.replace_application_service(value: 1)
entity.get_application_service # => (new_comp)
or
entity.replace_application_service(1)
entity.get_application_service # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_application_service(new_comp)
entity.get_application_service # => (new_comp)
Append. Alias for #replace_application_service
Will replace the current component with the new one generated from the provided arguments
entity.replace_application_service
entity.get_application_service # => (new_comp)