Class: When::TM::ReferenceSystem

Inherits:
Object show all
Defined in:
lib/when_exe/tmreference.rb

Overview

時間参照系

see gml schema

Constant Summary

Constants included from Parts::Resource

Parts::Resource::LabelProperty, Parts::Resource::Prefix, Parts::Resource::PrefixIndex, Parts::Resource::PrefixKeys, Parts::Resource::PrefixValues

Instance Attribute Summary collapse

Attributes inherited from BasicTypes::Object

#label

Attributes included from Parts::Resource

#_pool, #child, #keys, #locale, #namespace

Instance Method Summary collapse

Methods inherited from BasicTypes::Object

#tap

Methods included from Parts::Resource

#[], #^, _extract_prefix, _instance, _parse, _path_with_prefix, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #next, #parent, #prev, #registered?

Methods included from Parts::Resource::Pool

#[], #[]=, #_pool, #_setup_, #pool_keys

Methods included from Parts::Resource::Synchronize

#synchronize

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class When::Parts::Resource

Instance Attribute Details

#domainWhen::Parts::GeomerticComplex

Note:

マルチスレッド動作時 CalendarEra の生成で Calendar の本属性が更新される 参照・更新処理は synchronize { … } の … の部分に書く必要がある

この時間参照系が使用する時間の範囲

Range of time within which the temporal reference system is use

Returns:

  • (When::Parts::GeomerticComplex)


53
54
55
# File 'lib/when_exe/tmreference.rb', line 53

def domain
  @domain ||= When::Parts::GeometricComplex.new([])
end

#domain_of_validityWhen::EX::Extent Also known as: domainOfValidity

Note:

マルチスレッド動作時 CalendarEra の生成で Calendar の本属性が更新される 参照・更新処理は synchronize { … } の … の部分に書く必要がある

この時間参照系が使用する空間と時間の制限(実装は時間のみ)

Limits of space and time within which the temporal reference system is use

Returns:



32
33
34
# File 'lib/when_exe/tmreference.rb', line 32

def domain_of_validity
  @domain_of_validity
end

#positionArray<When::TM::(Temporal)Position> (readonly)

この時間参照系と関連付けられた時間位置 (relation - Reference)

The temporal position associated with the time reference system being described

Returns:



41
42
43
# File 'lib/when_exe/tmreference.rb', line 41

def position
  @position
end

Instance Method Details

#nameWhen::RS::Identifier

時間参照系を識別する名称

Name by which the temporal reference system is known



64
65
66
# File 'lib/when_exe/tmreference.rb', line 64

def name
  @name ||= When::RS::Identifier.new(label, @version, @remark)
end