1 /* 2 * Copyright 2004,2005 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.apache.wsdl; 17 18 /** 19 * @author chathura@opensource.lk 20 */ 21 public interface WSDLProperty extends Component { 22 /** 23 * Method getConstraint 24 * 25 * @return 26 */ 27 public Object getConstraint(); 28 29 /** 30 * Method setConstraint 31 * 32 * @param constraint 33 */ 34 public void setConstraint(Object constraint); 35 36 /** 37 * Method getName 38 * 39 * @return 40 */ 41 public String getName(); 42 43 /** 44 * Method setName 45 * 46 * @param uri 47 */ 48 public void setName(String uri); 49 50 /** 51 * Method getValue 52 * 53 * @return 54 */ 55 public Object getValue(); 56 57 /** 58 * Method setValue 59 * 60 * @param value 61 */ 62 public void setValue(Object value); 63 } 64