Class Relationship

    • Method Detail

      • initialise

        protected void initialise()
      • setRelationshipType

        public void setRelationshipType​(RelationshipType relationshipType)
      • setSystemAttributes

        public void setSystemAttributes​(SystemAttributes systemAttributes)
      • getEffectiveFromTime

        public Long getEffectiveFromTime()
        Return the date/time that this relationship should start to be used (null means it can be used from creationTime).
        Returns:
        Date the relationship becomes effective.
      • setEffectiveFromTime

        public void setEffectiveFromTime​(Long effectiveFromTime)
      • getEffectiveToTime

        public Long getEffectiveToTime()
        Return the date/time that this relationship should no longer be used.
        Returns:
        Date the relationship stops being effective.
      • setEffectiveToTime

        public void setEffectiveToTime​(Long effectiveToTime)
      • getGuid

        public String getGuid()
      • setGuid

        public void setGuid​(String guid)
      • getName

        public String getName()
      • getAdditionalProperties

        public Map<String,​String> getAdditionalProperties()
        Get the extra attributes - ones that are in addition to the standard types.
        Returns:
        extra attributes
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​String> additionalProperties)
      • getEnd1

        public RelationshipEnd getEnd1()
        Get relationship end 1. The child relationship sets the appropriate values for its relationship end 1
        Returns:
        RelationshipEnd relationship end 1
      • getEnd2

        public RelationshipEnd getEnd2()
        Get relationship end 1. The child relationship sets the appropriate values for its relationship end 1
        Returns:
        RelationshipEnd relationship end 1
      • isReadOnly

        public boolean isReadOnly()
        The relationship is readOnly
        Returns:
        whether read only
      • setReadOnly

        public void setReadOnly​(boolean readOnly)
        set whether the relationship is readOnly
        Parameters:
        readOnly - readonly flag