net.sourceforge.squirrel_sql.plugins.hibernate.mapping
Class MappedClassInfo

java.lang.Object
  extended by net.sourceforge.squirrel_sql.fw.completion.CompletionInfo
      extended by net.sourceforge.squirrel_sql.plugins.hibernate.mapping.MappedClassInfo
All Implemented Interfaces:
Comparable<CompletionInfo>

public class MappedClassInfo
extends CompletionInfo


Constructor Summary
MappedClassInfo(MappedClassInfoData mappedClassInfoData)
           
 
Method Summary
 PropertyInfo getAttributeByName(String attrName)
           
 String[] getAttributeNames()
           
 PropertyInfo[] getAttributes()
           
 String getClassName()
           
 String getCompareString()
           
 Collection<? extends CompletionInfo> getMatchingAttributes(CompletionParser parser)
           
 ArrayList<PropertyInfo> getQualifiedMatchingAttributes(CompletionParser parser)
           
 String getSimpleClassName()
           
 String getTableName()
           
 boolean hasColumns()
           
 void initAttributesWithClassInfo(MappingInfoProvider mappingInfoProvider)
           
 boolean isPlainValueArray()
           
 boolean isSame(String name)
           
 boolean matches(CompletionParser parser, boolean matchNameExact, boolean stateless)
           
 
Methods inherited from class net.sourceforge.squirrel_sql.fw.completion.CompletionInfo
compareTo, getCompletionString, matchesCompletionString, matchesCompletionStringStart, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MappedClassInfo

public MappedClassInfo(MappedClassInfoData mappedClassInfoData)
Method Detail

getCompareString

public String getCompareString()
Specified by:
getCompareString in class CompletionInfo

matches

public boolean matches(CompletionParser parser,
                       boolean matchNameExact,
                       boolean stateless)

hasColumns

public boolean hasColumns()
Overrides:
hasColumns in class CompletionInfo

getQualifiedMatchingAttributes

public ArrayList<PropertyInfo> getQualifiedMatchingAttributes(CompletionParser parser)

getMatchingAttributes

public Collection<? extends CompletionInfo> getMatchingAttributes(CompletionParser parser)

isSame

public boolean isSame(String name)

getClassName

public String getClassName()

getSimpleClassName

public String getSimpleClassName()

getAttributeNames

public String[] getAttributeNames()

getAttributeByName

public PropertyInfo getAttributeByName(String attrName)

getAttributes

public PropertyInfo[] getAttributes()

getTableName

public String getTableName()

initAttributesWithClassInfo

public void initAttributesWithClassInfo(MappingInfoProvider mappingInfoProvider)

isPlainValueArray

public boolean isPlainValueArray()


Copyright © 2001-2012. All Rights Reserved.