Package org.iplass.mtp.entity
Class BinaryReference
java.lang.Object
org.iplass.mtp.entity.BinaryReference
- All Implemented Interfaces:
Serializable
バイナリデータへの参照を表すEntityの属性値です。
EntityにBinaryPropertyが宣言されている場合は、
このインスタンスが返却されます。
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBinaryReference(long lobId, String name, String type, long size) BinaryReference(long lobId, String name, String type, long size, String definitionName, String propertyName, String oid) -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanこのバイナリが格納されているEntityの定義名longgetLobId()バイナリファイルを一意に特定するIDgetName()バイナリファイルのファイル名getOid()このバイナリが格納されているEntityのOIDこのバイナリが格納されているEntityの属性名longgetSize()バイナリのサイズ(byte)getType()バイナリのタイプ(mineタイプ名)inthashCode()voidsetDefinitionName(String definitionName) voidsetLobId(long lobId) voidvoidvoidsetPropertyName(String propertyName) voidsetSize(long size) voidtoString()
-
Constructor Details
-
BinaryReference
public BinaryReference() -
BinaryReference
-
BinaryReference
-
-
Method Details
-
toString
-
setName
-
setType
-
setDefinitionName
-
setPropertyName
-
setOid
-
getDefinitionName
このバイナリが格納されているEntityの定義名- Returns:
-
getPropertyName
このバイナリが格納されているEntityの属性名- Returns:
-
getLobId
public long getLobId()バイナリファイルを一意に特定するID- Returns:
-
setLobId
public void setLobId(long lobId) -
getName
バイナリファイルのファイル名- Returns:
-
getType
バイナリのタイプ(mineタイプ名)- Returns:
-
getOid
このバイナリが格納されているEntityのOID- Returns:
-
getSize
public long getSize()バイナリのサイズ(byte)- Returns:
-
setSize
public void setSize(long size) -
copy
-
hashCode
public int hashCode() -
equals
-