public class Polygon extends Object implements Iterable<Point>, AttributeConverter<Polygon,byte[]>, Serializable
| Constructor and Description |
|---|
Polygon(boolean autoClose,
Collection<? extends Point> points) |
Polygon(boolean autoClose,
Point x,
Point y,
Point z,
Point... others) |
Polygon(Collection<? extends Point> points) |
Polygon(Point x,
Point y,
Point z,
Point... others) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
convertToDatabaseColumn(Polygon attribute)
将实体属性值转换为数据库列的值。
|
Polygon |
convertToEntityAttribute(byte[] dbData)
将数据库列的值转换为实体属性值。
|
boolean |
equals(Object o) |
List<Point> |
getPoints() |
int |
hashCode() |
Iterator<Point> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorisSkipConvertToDatabaseColumn, isSkipConvertToEntityAttributepublic Polygon(Collection<? extends Point> points)
public Polygon(boolean autoClose,
Collection<? extends Point> points)
public byte[] convertToDatabaseColumn(Polygon attribute)
AttributeConverterconvertToDatabaseColumn in interface AttributeConverter<Polygon,byte[]>attribute - 实体属性值public Polygon convertToEntityAttribute(byte[] dbData)
AttributeConverterconvertToEntityAttribute in interface AttributeConverter<Polygon,byte[]>dbData - 数据库列值Copyright © 2024–2025 Dynamic-SQL. All rights reserved.