Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
9 subscribers
Views
2594 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi , does anyone have a real example of CDT with the association one-to-man
marcop519
over 12 years ago
Hi ,
does anyone have a real example of CDT with the association one-to-many?
I don't know how to set correctly the generic string schema (eg. xmlns="urn:appian:example:assocations:one-to-many" ).
Thanks...
OriginalPostID-34827
OriginalPostID-34827
Discussion posts and replies are publicly visible
Parents
0
Sanjay
over 12 years ago
<xs:complexType name="OfficeLocation">
<xs:sequence>
<xs:element name="id" type="xs:int">
<xs:annotation>
<xs:appinfo source="appian.jpa">
@Id
@GeneratedValue
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="address1" type="xs:string" />
<xs:element name="address2" nillable="true" type="xs:string" />
<xs:element name="city" type="xs:string" />
<xs:element name="state" type="xs:string" />
<xs:element name="zip" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:schema>
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sanjay
over 12 years ago
<xs:complexType name="OfficeLocation">
<xs:sequence>
<xs:element name="id" type="xs:int">
<xs:annotation>
<xs:appinfo source="appian.jpa">
@Id
@GeneratedValue
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="address1" type="xs:string" />
<xs:element name="address2" nillable="true" type="xs:string" />
<xs:element name="city" type="xs:string" />
<xs:element name="state" type="xs:string" />
<xs:element name="zip" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:schema>
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data