rs.sol.soloist.server.builtindomains.builtindatatypes
Class Picture
java.lang.Object
rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
rs.sol.soloist.server.uml.commonimplementation.runtime._DataTypeInstance
rs.sol.soloist.server.javaimpl.runtime.SOLoistDataTypeInstance
rs.sol.soloist.server.builtindomains.builtindatatypes.InstanceOfDataType
rs.sol.soloist.server.builtindomains.builtindatatypes.InstanceOfPrimitiveType
rs.sol.soloist.server.builtindomains.builtindatatypes.File
rs.sol.soloist.server.builtindomains.builtindatatypes.Picture
- All Implemented Interfaces:
- rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IDataTypeInstance, IPrimitiveTypeInstance, IRTElement
public class Picture
- extends File
Constructor Summary |
Picture()
|
Picture(java.lang.String path)
|
Picture(java.lang.String pathOrExtension,
boolean extension)
|
Methods inherited from class rs.sol.soloist.server.builtindomains.builtindatatypes.File |
createFileInRepository, equals, filePathRelativeToBase, fromContent, fromContent, fromContent, fromContent, getDigest, getFileSize, getInputStream, getSQLString, hashCode, isEqualTo, stringPathRelativeToBase, toFile, toString, write, write |
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistDataTypeInstance |
addAttributeValue, getAttributeValue, getDataType, getMyID, getSlot, getSlots, setDataType, setMyID |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._DataTypeInstance |
getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isMarkedAsDeleted, markAsDeleted |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance |
conformsTo, constructor, copySlots, copySlots, destroy, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValues, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance |
conformsTo, constructor, copySlots, copySlots, destroy, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValues, getClassifier, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMyID, getSlot, getSlot, getSlot, getSlot, getSlots, isClassInstance, isDataTypeInstance, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isMarkedAsDeleted, markAsDeleted |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement |
isKindOf, isModelElement, isRTElement |
FQ_TYPE_NAME
public static final java.lang.String FQ_TYPE_NAME
- See Also:
- Constant Field Values
CLASSIFIER
public static final IPrimitiveType CLASSIFIER
Picture
public Picture()
Picture
public Picture(java.lang.String pathOrExtension,
boolean extension)
throws java.io.IOException
- Throws:
java.io.IOException
Picture
public Picture(java.lang.String path)
fromString
public static Picture fromString(java.lang.String path)
fromURL
public static Picture fromURL(java.net.URL url)
throws java.io.IOException
- Throws:
java.io.IOException
fromContent
public static Picture fromContent(java.io.InputStream contentStream)
throws java.io.IOException
- Throws:
java.io.IOException
fromBufferedImage
public static Picture fromBufferedImage(java.awt.image.BufferedImage image)
throws java.io.IOException
- Throws:
java.io.IOException
fromBufferedImageAsPNG
public static Picture fromBufferedImageAsPNG(java.awt.image.BufferedImage image)
throws java.io.IOException
- Throws:
java.io.IOException
fromBufferedImageAsJPEG
public static Picture fromBufferedImageAsJPEG(java.awt.image.BufferedImage image,
float compressionQuality,
int dotsPerInch)
throws java.io.IOException
- Throws:
java.io.IOException
toBufferedImage
public java.awt.image.BufferedImage toBufferedImage()
throws java.io.IOException
- Throws:
java.io.IOException
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface IPrimitiveTypeInstance
- Overrides:
getValue
in class File
fromSerializable
public static Picture fromSerializable(java.io.Serializable ser)
makeClone
public IClassifierInstance makeClone()
throws rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException
- Description copied from interface:
IClassifierInstance
- Clones this Classifier Instance.
- Specified by:
makeClone
in interface IClassifierInstance
- Overrides:
makeClone
in class File
- Throws:
rs.sol.soloist.server.uml.exceptions.ActionExecutionFailedException