Maurice Fitzgerald of Abbeyview in Buttevant pleaded guilty to falsely imprisoning and assaulting the woman causing harm on the 27th of August last at Meeting House Lane.
Judge Martin Nolan set a headline sentence of 12 to 14 years at Dublin Circuit Criminal Court today.
He described the crime as "particularly insidious and very serious" and said Maurice Fitzgerald "had a plan" and had bought duct tape and a hammer on the day in question.
The court heard that Gardaí were alerted after residents at a nearby apartment heard the woman screaming and the sound of tape being wrapped.
Judge Nolan said that "something very serious would have occurred" if Gardaí had not arrived when they did.
The court heard that Fitzgerald had travelled from Cork to Dublin by train on the day in question and had bought three rolls of duct tape and a claw hammer.
Fitzgerald could not be interviewed until the morning after the day in question due to being intoxicated and admitted he was guilty but couldn't remember what had happened in his fourth interview.
He has six previous convictions, including two for sexual assault and others for false imprisonment, assault causing harm and possession of weapons.
He was sentenced to four years in prison in July 2016 for an incident in Kerry where he befriended a woman and used duct tape to incapacitate her.