コード例 #1
0
 private AssociationType1 getFifthAssociation() {
   AssociationType1 association = RIM_FACTORY.createAssociationType1();
   association.setId("urn:association:5");
   association.setAssociationType("RelatedTo");
   association.setSourceObject("urn:organization:id1");
   association.setTargetObject("urn:service:id0");
   return association;
 }
コード例 #2
0
 private AssociationType1 getThirdAssociation() {
   AssociationType1 association = RIM_FACTORY.createAssociationType1();
   association.setId("urn:association:3");
   association.setAssociationType("RelatedTo");
   association.setSourceObject("urn:contact:person1");
   association.setTargetObject("urn:content:collection:id0");
   return association;
 }
コード例 #3
0
 private AssociationType1 getFirstAssociation() {
   AssociationType1 association = RIM_FACTORY.createAssociationType1();
   association.setId("urn:association:1");
   association.setAssociationType("RelatedTo");
   association.setSourceObject("urn:registry:node");
   association.setTargetObject("urn:contact:id0");
   return association;
 }
コード例 #4
0
  private AssociationType1 getSixthAssociation() {
    AssociationType1 association = RIM_FACTORY.createAssociationType1();
    association.setId("urn:association:6");
    association.setAssociationType("RelatedTo");
    association.setSourceObject("urn:organization:id0");
    association.setTargetObject("urn:content:collection:id0");

    return association;
  }
コード例 #5
0
  private AssociationType1 getSecondAssociation() {
    AssociationType1 association = RIM_FACTORY.createAssociationType1();

    association.setId("urn:association:2");
    association.setAssociationType("RelatedTo");
    association.setSourceObject("urn:registry:node");
    association.setTargetObject("urn:organization:id0");

    return association;
  }