com.alibaba.druid.mapping
Class Entity

java.lang.Object
  extended by com.alibaba.druid.mapping.MappingObject
      extended by com.alibaba.druid.mapping.Entity

public class Entity
extends MappingObject


Constructor Summary
Entity()
           
Entity(String name, String description, String tableName)
           
 
Method Summary
 void addProperty(Property property)
           
 String getDescription()
           
 String getName()
           
 Map<String,Property> getProperties()
           
 Property getProperty(String name)
           
 String getTableName()
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setProperties(Map<String,Property> properties)
           
 void setTableName(String tableName)
           
 String toString()
           
 
Methods inherited from class com.alibaba.druid.mapping.MappingObject
getAttribute, getAttributes, getAttributesDirect, putAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Entity

public Entity()

Entity

public Entity(String name,
              String description,
              String tableName)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

addProperty

public void addProperty(Property property)

getProperty

public Property getProperty(String name)

getProperties

public Map<String,Property> getProperties()

setProperties

public void setProperties(Map<String,Property> properties)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Alibaba Group. All Rights Reserved.