001package com.hfg.xml.msofficexml;
002
003
004import com.hfg.xml.msofficexml.part.OfficeXMLPart;
005
006public class OfficeOpenXmlRelationship
007{
008   private String           mId;
009   private OfficeXMLPart    mPart;
010   private RelationshipType mType;
011   private String           mTarget;
012   private String           mTargetMode;
013
014   //---------------------------------------------------------------------------
015   public OfficeOpenXmlRelationship()
016   {
017
018   }
019
020   //---------------------------------------------------------------------------
021   public OfficeOpenXmlRelationship setPart(OfficeXMLPart inValue)
022   {
023      mPart = inValue;
024      return this;
025   }
026
027   //---------------------------------------------------------------------------
028   public OfficeXMLPart getPart()
029   {
030      return mPart;
031   }
032
033   //---------------------------------------------------------------------------
034   public OfficeOpenXmlRelationship setType(RelationshipType inValue)
035   {
036      mType = inValue;
037      return this;
038   }
039
040   //---------------------------------------------------------------------------
041   public RelationshipType getType()
042   {
043      return mType;
044   }
045
046   //---------------------------------------------------------------------------
047   public OfficeOpenXmlRelationship setId(String inValue)
048   {
049      mId = inValue;
050      return this;
051   }
052
053   //---------------------------------------------------------------------------
054   public String getId()
055   {
056      return mId;
057   }
058
059
060   //---------------------------------------------------------------------------
061   public OfficeOpenXmlRelationship setTarget(String inValue)
062   {
063      mTarget = inValue;
064      return this;
065   }
066
067   //---------------------------------------------------------------------------
068   public String getTarget()
069   {
070      return mTarget;
071   }
072
073
074   //---------------------------------------------------------------------------
075   public OfficeOpenXmlRelationship setTargetMode(String inValue)
076   {
077      mTargetMode = inValue;
078      return this;
079   }
080
081   //---------------------------------------------------------------------------
082   public String getTargetMode()
083   {
084      return mTargetMode;
085   }
086
087}