기존 관계 유형 페치

다음을 참조하십시오.

저장소에서 관계 유형 오브젝트를 가져오려면 RAMSession.getAllRelationshipTypes() 또는 RAMSession.getRelationshipType(String name)을 사용하십시오.

                //Fetch all relationship types
                RAMRelationshipType[] relationshipTypes = session.getAllRelationshipTypes();
                
                //Fetch a relationship type by name
                RAMRelationshipType relationshipType = session.getRelationshipType("myRelType");
                
                //Fetch a relationship type by Display Name
                relationshipType = session.getRelationshipType("My Relationship Type");

피드백