OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: [regrep] RegistryObjectQuery


Illustration of changes in Filter Query needed in order to support
RegistryObject Query is attached. This is what Farrukh and me could do while
working on it briefly this morning.

I think that we should also address other comments that are posted w/r/t
"Query Proposal".

Nikola Stojanovic
Lead Technologist, Research and Development
Encoda Systems Inc.
101 Pineview Terrace
Ithaca, NY 14850 USA
nikola.stojanovic@encodasystems.com
Tel: 607-273-2224

Use cases for RegistryObjectQuery
---------------------------------

-Give me ID, name and description for all my objects

-Give me all objects that are classified by "/Geography//Athens"

-Give me all objects that are source/target of association of type Supercedes

-Give me all objects that have an ExternalLink to rosettanet.org web site




<!ELEMENT FilterQuery ( 
	RegistryObjectQuery	<==== Added line 114
	| RegistryEntryQuery
	| AuditableEventQuery
	| ClassificationNodeQuery
	| RegistryPackageQuery
	| OrganizationQuery )>


<!ELEMENT FilterQueryResult ( 
	RegistryObjectQueryResult  <==== Added line 121
	| RegistryEntryQueryResult
	| AuditableEventQueryResult
	| ClassificationNodeQueryResult
	| RegistryPackageQueryResult
	| OrganizationQueryResult )>

//Note how no new View class is created.
<!ELEMENT RegistryObjectQueryResult ( RegistryObject* )>



//Following is new

<!ELEMENT RegistryObjectQuery ( RegistryObjectFilter?,
	SourceAssociationBranch*,
	TargetAssociationBranch*,
	HasClassificationBranch*,
	SubmittingOrganizationBranch?,
	ExternalIdentifierBranch*,
	ExternalLinkBranch*,
	HasSlotBranch*,
	HasAuditableEventBranch* )>

//RegistryObjectFilter already in at line 1268 :-)

//What about PackageBranch in above and in RegistryEntryQuery

<!ELEMENT SourceAssociationBranch ( AssociationFilter?, 221
	( RegistryObjectFilter? | RegistryObjectQuery? | RegistryEntryFilter? | RegistryEntryQuery? ) )>

<!ELEMENT TargetAssociationBranch
	( AssociationFilter?,
	( RegistryObjectFilter? | RegistryObjectQuery? | RegistryEntryFilter? | RegistryEntryQuery? ) )>


<!ELEMENT FromSchemeBranch ( ClassificationSchemeFilter | RegistryObjectQuery | RegistryEntryQuery )> 236



<!ELEMENT AuditableEventQuery ( AuditableEventFilter?, 520
	(RegistryObjectQuery | RegistryEntryQuery)*,
	InvokedByBranch? )>


<!ELEMENT HasMemberBranch ( RegistryObjectQuery | RegistryEntryQuery? )> 751


<!ELEMENT OrganizationQuery ( OrganizationFilter?, 822
	SubmitsRegistryObject*, 823  <==== Changed from RegistryEntry to RegistryObject
	HasParentOrganization?, 824
	InvokesEventBranch* )> 825

<!ELEMENT SubmitsRegistryObject ( RegistryObjectQuery | RegistryEntryQuery? )> 827

<!ELEMENT HasParentOrganization 829
	( OrganizationFilter?, 830
	HasParentOrganization? )> 831

<!ELEMENT InvokesEventBranch 833
	( UserFilter?, 834
	AuditableEventFilter?, 835
	((RegistryObjectQuery | RegistryEntryQuery)? )> 836



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC