Coverage Report - org.trails.descriptor.IClassDescriptor
 
Classes in this File Line Coverage Branch Coverage Complexity
IClassDescriptor
N/A 
N/A 
0
 
 1  
 /*
 2  
  * Created on Mar 18, 2005
 3  
  *
 4  
  * Copyright 2004 Chris Nelson
 5  
  * 
 6  
  * Licensed under the Apache License, Version 2.0 (the "License"); 
 7  
  * you may not use this file except in compliance with the License. 
 8  
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
 9  
  * Unless required by applicable law or agreed to in writing, 
 10  
  * software distributed under the License is distributed on an "AS IS" BASIS, 
 11  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 12  
  * See the License for the specific language governing permissions and limitations under the License.
 13  
  */
 14  
 package org.trails.descriptor;
 15  
 
 16  
 import java.util.List;
 17  
 
 18  
 /**
 19  
  * @author fus8882
 20  
  *         <p/>
 21  
  *         TODO To change the template for this generated type comment go to
 22  
  *         Window - Preferences - Java - Code Style - Code Templates
 23  
  */
 24  
 public interface IClassDescriptor extends IDescriptor
 25  
 {
 26  
         public Class getType();
 27  
 
 28  
         /**
 29  
          * @return Returns the methodDescriptors.
 30  
          */
 31  
         public List<IMethodDescriptor> getMethodDescriptors();
 32  
 
 33  
         /**
 34  
          * @param methodDescriptors The methodDescriptors to set.
 35  
          */
 36  
         public void setMethodDescriptors(List<IMethodDescriptor> methodDescriptors);
 37  
 
 38  
         /**
 39  
          * @return Returns the propertyDescriptors.
 40  
          */
 41  
         public List<IPropertyDescriptor> getPropertyDescriptors();
 42  
 
 43  
         /**
 44  
          * @param propertyDescriptors The propertyDescriptors to set.
 45  
          */
 46  
         public void setPropertyDescriptors(List<IPropertyDescriptor> propertyDescriptors);
 47  
 
 48  
         public IPropertyDescriptor getIdentifierDescriptor();
 49  
 
 50  
         /**
 51  
          * @return
 52  
          */
 53  
         public String getDisplayName();
 54  
 
 55  
         public void setDisplayName(String displayName);
 56  
 
 57  
         /**
 58  
          * @return
 59  
          */
 60  
         public String getShortDescription();
 61  
 
 62  
         public void setShortDescription(String shortDescription);
 63  
 
 64  
         /**
 65  
          * @param string
 66  
          * @return
 67  
          */
 68  
         public IPropertyDescriptor getPropertyDescriptor(String name);
 69  
 
 70  
         /**
 71  
          * @return
 72  
          */
 73  
         public String getPluralDisplayName();
 74  
 
 75  
         /**
 76  
          * @return
 77  
          */
 78  
         public boolean isChild();
 79  
 
 80  
         /**
 81  
          * @param
 82  
          */
 83  
         public void setChild(boolean child);
 84  
 
 85  
         public List<IPropertyDescriptor> getPropertyDescriptors(List<String> propertyNames);
 86  
 
 87  
         public boolean isAllowSave();
 88  
 
 89  
         public void setAllowSave(boolean allowSave);
 90  
 
 91  
         public boolean isAllowRemove();
 92  
 
 93  
         public void setAllowRemove(boolean allowRemove);
 94  
 
 95  
         public boolean getHasCyclicRelationships();
 96  
 
 97  
         public void setHasCyclicRelationships(boolean hasBidirectionalRelationship);
 98  
 
 99  
 }