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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sdo message

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


Subject: [sdo] [SDO-11]: The Property Resolver is a service providerinterface for abstracting the storage of DataObjects



This proposal is a part of SDO Roadmap goal #5 on External Formats.

public interface DataObjectResolver
{
Object get(Object object, Property property, int index);

Object set(Object object, Property property, int index, Object value);

boolean isSet(Object object, Property property);

void unset(Object object, Property property);

boolean isEmpty(Object object, Property property);

int size(Object object, Property property);

boolean contains(Object object, Property property, Object value);

int indexOf(Object object, Property property, Object value);

int lastIndexOf(Object object, Property property, Object value);

void add(Object object, Property property, int index, Object value);

Object remove(Object object, Property property, int index);

Object move(Object object, Property property, int targetIndex, int
sourceIndex);

void clear(Object object, Property property);

Object[] toArray(Object object, Property property);

Object[] toArray(Object object, Property property, Object[] array);

int hashCode(Object object, Property property);

Type getType(Object object); 

DataObject getContainer(Object object); 

Property getContainingProperty(Object object); 

Sequence getSequence(Object object);

DataObject create(Type Type);

void delete(Object object);
}


James Taylor:

It's unclear why this would be part of the specification, since it would
not be surfaced to the user.

Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.


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