[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [ubl-ndrsc] Initial Party Draft Schemas (UML diagram)
Hi gang, I can't be with you all in person this week, but I'm with you in spirit. I took Arofan's schema sample and reverse engineered it into a UML class diagram; see the attached PDF file. While running this, two parsing errors were created, which appear to be due to typos in the XSD. Missing association role: OtherContactList type: ContactListType Missing association role: NameAddressTypeCode type: NameAddressTypeCode The first missing association was on the PartyType class (probably "ContactListType" should be "ContactType"). Also, I can generate HTML documentation in JavaDoc style from the resulting UML model. See the attached HTML file, where the classes are sorted alphabetically. Hope this is helpful! Arofan, you probably need to forward this to the ubl-lcsc list because I don't have permission to post there. Cheers, Dave Carlson ----- Original Message ----- From: "Gregory, Arofan" <arofan.gregory@commerceone.com> To: <ubl-lcsc@lists.oasis-open.org>; <ubl-ndrsc@lists.oasis-open.org> Sent: Monday, January 21, 2002 1:00 PM Subject: RE: [ubl-lcsc][ubl-ndrsc] Initial Party Draft Schemas > > Folks: > > Attached is a zip file with a small example for the face-to-face, of schemas > for PartyDetails and an HTML rendering of them. > > Please note that this is a rough draft for discussion only, and does not > reflect the sentiments of the library committee as a whole. It is an aid to > discussion, and to serve as a point for review. It is not even complete, but > reflects what I was able to get done before the face-to-face following some > discussions with Tim and Lisa. > > Please forgive any infelicities I may have committed in the half-crazed > jotting of comments/notes in the text. No offense is intended, but too much > coffee and too little sleep can make you a bit more direct, and a bit less > sane, than you might otherwise be. > > Cheers, > > Arofan > >Title: Model Detail
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | AddressTypeCode
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | AgencyCode
Attributes | |
public AgencyCode [0..1] |
AgencyCode { position=1 }
Contains a coded value that indicates the Agency that maintains a codelist. Either this or the AgencyDescriptionText must
be specified, although both are allowed. The code takes precedence when both are included.
|
public string [0..1] |
AgencyDescriptionText { position=2 }
Contains a plain-text description of the Agency. Either this or the AgencyCode must be specified, although both are allowed.
|
public CodeListIdentifierCode [0..1] |
CodeListIdentifierCode { position=3 }
Contains a code identifying the code-list that identifies the agency. Either this or the CodeListIdentifierText must be specified,
although both are allowed. The code takes precedence when both are included.
|
public string [0..1] |
CodeListIdentifierText { position=4 }
Contains a textual description of the code-list that identifies the agency. Either this or the CodeListIdentifierCode must
be specified, although both are allowed. The code takes precedence when both are included.
|
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | CodeListIdentifierCode
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | ContactFunctionCode
Attributes | |
public ContactFunctionCode |
ContactFunctionCode { position=1 }
Required code describing the function of the contact.
|
public string [0..1] |
ContactFunctionDescriptionText { position=2 }
Provides a non-coded description of the function of the contact.
|
Attributes | |
public string |
ContactNumberValueText { position=1 }
A number used to contact a person or department through the specified medium. Can be a URL or a phone number, for example.
|
public ContactNumberTypeCode |
ContactNumberTypeCode { position=2 }
A coded value describing the functional type of the contact number.
|
public string [0..1] |
ContactNumberDescriptionText { position=3 }
A text string describing the use of a contact number.
|
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | ContactNumberTypeCode
Attributes | |
public string [0..1] |
ContactNameText { position=2 }
Provides a name for the contact (department or person).
|
public string [0..1] |
ContactDescriptionText { position=4 }
Provides descriptive information about the contact, apart from identification.
|
Associations | |
public IdentifierType [0..1] | ContactIdentifierDetails { position=1 } |
public ContactFunctionType [0..1] | ContactFunctionDetails { position=3 } |
public ListOfContactNumberType [0..1] | ListOfContactNumberDetails { position=5 } |
Associations | |
public TimeZoneType | CorrespondenceTimeZone { position=2 } |
public LanguageType | CorrespondenceLanguage { position=1 } |
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | CountryCode
Attributes | |
public string [0..1] |
CountryCode { position=1 }
Contains the coded identifier of a country. Either this or the description must be supplied. If the code is used, it takes
precedence.
|
public string [0..1] |
CountryDescriptionText { position=2 }
Contains a textual description of a country for the purposes of identifying it. Either this or the coded valkue must be used.
|
Attributes | |
public string |
IdentifierText { position=2 }
The value from the identified agency's scheme that identifies this party.
|
Associations | |
public AgencyType | IdentifierAgencyDetails { position=1 } |
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | LanguageCode
Attributes | |
public LanguageCode |
LanguageCode { position=1 }
Coded language identifier.
|
public string [0..1] |
LanguageDescriptionText { position=2 }
A textual description identifying a language.
|
public LocaleCode |
LocaleCode { position=3 }
A code identifying the locale.
|
public string [0..1] |
LocaleDescriptionText { position=4 }
A textual description identifying the locale.
|
Associations | |
public ContactNumberType [1..*] | ContactNumberDetails { position=1 } |
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | LocaleCode
Attributes | |
public string [0..1] |
ExternalAddressIdentifierText { position=1 }
Contains a GUID that is used for referencing the address when specifying specific user information (unique within partner
organization).
|
public string |
Name1Text { position=2 }
Contains the name of an entity.
|
public string [0..1] |
Name2Text { position=3 }
Contains additional name information for an entity.
|
public string [0..1] |
Name3Text { position=4 }
Contains additional name information for an entity. Should only be used if Name2Text has already been used.
|
public string [0..1] |
StreetText { position=7 }
Contains the name of the street.
|
public string [0..1] |
HouseNumberText { position=8 }
Contains the house number.
|
public string [0..1] |
StreetSupplement1Text { position=9 }
Contains additional information about the street and house number.
|
public string [0..1] |
StreetSupplement2Text { position=10 }
Contains additional information about the street and house number. Should not be used unless StreetSupplement1 has already
been used.
|
public string [0..1] |
BuildingText { position=11 }
Contains the name of the building.
|
public string [0..1] |
FloorText { position=12 }
Contains the floor.
|
public string [0..1] |
RoomNumberText { position=13 }
Contains the room number.
|
public string [0..1] |
InhouseMailText { position=14 }
Contains the internal mail stop.
|
public string [0..1] |
DepartmentText { position=15 }
Contains the department.
|
public string [0..1] |
PostalCodeText { position=16 }
Contains the postal code.
|
public string [0..1] |
CityText { position=17 }
Contains the name of the city or town.
|
public string [0..1] |
CountyText { position=18 }
Contains the county.
|
public string [0..1] |
RegionDetails { position=19 }
Contains the identification of the region (state, province, etc.)
|
public string [0..1] |
DistrictText { position=20 }
Contains the identification of the district.
|
Associations | |
public IdentifierType [0..1] | NameIdentifierDetails { position=5 } |
public POBoxType [0..1] | POBoxDetails { position=6 } |
public CountryType [0..1] | CountryDetails { position=21 } |
public NameAddressTypeType [0..1] | NameAddressTypeDetails { position=22 } |
Attributes | |
public string [0..1] |
NameAddressTypeDescriptionText { position=2 }
A textual description of the functional type of a NameAddress.
|
Attributes | |
public boolean |
MDFIndicator { position=2 }
This indicates whether the Party is a minority-, disabled-, or female-owned business.
|
Associations | |
public IdentifierType | PartyIdentifier { position=1 } |
public NameAddressType [0..1] | NameAddress { position=3 } |
public ContactType [0..1] | OrderContact { position=4 } |
public ContactType [0..1] | ShippingContact { position=5 } |
public ContactType [0..1] | ReceivingContact { position=6 } |
public CorrespondenceType [0..1] | CorrespondenceDetails { position=8 } |
Attributes | |
public string |
POBoxText { position=1 }
Contains the PO Box number
|
public string [0..1] |
POBoxPostalCode { position=2 }
Contains the postal code of the PO Box if this is different from the regular postal code.
|
«XSDsimpleType»
+--anySimpleType | +--string | +--normalizedString | +--token | +--NMTOKEN | RegionCode
Attributes | |
public RegionCode [0..1] |
RegionCode { position=1 }
Contains a code identifying the region. Either the code or the description should be used at a minimum. If both are used,
the code takes precedence.
|
public string [0..1] |
RegionDescriptionText { position=2 }
Contains a textual descripotion of the region for identification purposes. Should be used if no code is supplied, and may
be used to supplement coded information.
|
«XSDsimpleType»
+--anySimpleType | +--string | TimezoneCode
Attributes | |
public string [0..1] |
TimeZoneCode { position=1 }
Contains the coded identifier of a time zone, in 15-minute increments. Either this or the description must be supplied. If
the code is used, it takes precedence.
|
public string [0..1] |
TimeZoneDescriptionText { position=2 }
Contains a textual description of a time zone. Either this or the coded value must be used. This is useful in those not-yet-extant
cases where a country has time-zone distinctions in increments of less than 15 minutes, or where some other measure of time
might conceivably be used.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC