diff options
Diffstat (limited to 'plugins/org.eclipse.wst.validation/validate/org/eclipse/wst/validation/internal/operations/MessageInfo.java')
-rw-r--r-- | plugins/org.eclipse.wst.validation/validate/org/eclipse/wst/validation/internal/operations/MessageInfo.java | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/plugins/org.eclipse.wst.validation/validate/org/eclipse/wst/validation/internal/operations/MessageInfo.java b/plugins/org.eclipse.wst.validation/validate/org/eclipse/wst/validation/internal/operations/MessageInfo.java deleted file mode 100644 index 16b93c0ed..000000000 --- a/plugins/org.eclipse.wst.validation/validate/org/eclipse/wst/validation/internal/operations/MessageInfo.java +++ /dev/null @@ -1,104 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2003, 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.validation.internal.operations; - -import org.eclipse.core.resources.IResource; -import org.eclipse.wst.validation.internal.provisional.core.IMessage; - -public class MessageInfo { - - private String messageOwnerId; - private IResource resource; - private String location; - private String text; - private String targetObjectName; - private String markerId; - private IMessage msg; - - public MessageInfo(){ - } - - public MessageInfo(String messageOwnerId, IResource resource, String location, - String text, String targetObjectName, String markerId, IMessage msg){ - - this.messageOwnerId = messageOwnerId; - this.resource = resource; - this.location = location; - this.text = text; - this.targetObjectName = targetObjectName; - this.markerId = markerId; - this.msg = msg; - } - - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public String getMarkerId() { - return markerId; - } - - public void setMarkerId(String markerId) { - this.markerId = markerId; - } - - public String getMessageOwnerId() { - return messageOwnerId; - } - - public void setMessageOwnerId(String messageOwnerId) { - this.messageOwnerId = messageOwnerId; - } - - public IMessage getMsg() { - return msg; - } - - public void setMsg(IMessage msg) { - this.msg = msg; - } - - public IResource getResource() { - return resource; - } - - public void setResource(IResource resource) { - this.resource = resource; - } - - public String getTargetObjectName() { - return targetObjectName; - } - - public void setTargetObjectName(String targetObjectName) { - this.targetObjectName = targetObjectName; - } - - public String getText() { - return text; - } - - public void setText(String text) { - this.text = text; - } - - @Override - public String toString() { - if (text != null)return "MessageInfo: " + text; //$NON-NLS-1$ - return super.toString(); - } - -} |