Class RelationshipInformation

    • Field Detail

      • type

        protected String type
        The name of the relationship for the database
      • bulk

        protected boolean bulk
        True = 0..* False = 0..1 If it is a Collection is a bulk relationship!
    • Method Detail

      • getType

        public String getType()
      • isBulk

        public boolean isBulk()
      • getTargetClassInformation

        public ClassInformation getTargetClassInformation()
      • getTargetClassInformation

        public ClassInformation getTargetClassInformation​(Object o)
        For runtime decision making -> hand it an object, and the system will get the class info from it
        Parameters:
        o - the object for which the class information should be constructed
        Returns:
        the class information for the class of object o
      • setTargetClassInformation

        protected void setTargetClassInformation​(ClassInformation targetClassInformation)