A loop of the object Instance

How can I loop public properties of an instance of an object? I don't want to write about each property of the class to check its value. The object has a base class that holds only all values that will be passed to a script for treatment

If you have a simple object (not a MXML class), you can do this in two ways:

just set up the object
var o: Object = new Object();
o.Item1 = "pppp".
o.itemX = "54545."

This example gets the properties of the object to use in the loop below
var objPropsA: Array = ObjectUtil.getClassInfo (o) .properties.

for (var x: int = 0; x)
var obj: Object = objPropsA [x];
point var: String = o [obj];
}

It is a loop of shorthand to do the same as above.
for each {(obj:Object var in .properties ObjectUtil.getClassInfo (o))
point var: String = o [obj];
}

Tags: Flex

Similar Questions

  • Loop through the objects - test links

    Hello

    I have a script that moves all instances of an object linked according to the defined user X, the values of Y.

    To do this, I need to loop through all the objects with links

    What is the best way to do it?

    From now on, that's what I do:

    var g = myDoc.allGraphics;
    for (var i=0; i<g.length; i++) {
         if (g[i].itemLink.name == USER_LINK) {
              g[i].parent.move(undefined, [USER_X, USER_Y]);
         }
    }

    It works well, however, I ran into a few problems where the link is null

    Also, is it always the graph linked, or its parent may be related as well?

    If not, then I can just condition that if itemLink == null - continue

    Advice and guidance would be much appreciated

    Thank you

    David

    It works well, however, I ran into a few problems where the link is null

    if (g[i].itemLink && g[i].itemLink.name == "USER_LINK")     //     should be enough
    

    Also, is it always the graph linked, or its parent may be related as well?

    Graphics can be linked to the ==> itemLink ! = null and itemLink.status may vary

    or stuck ==> itemLink == null.

    As much as I know the graphic.parent may not be related.

    However not all are related graphic.parent can be moved. I e. those who are anchored with

    AnchorPosition.INLINE_POSITION and AnchorPosition.ABOVE_LINE

    Above the case can be a source of error as well.

    Also consider locked object or the layers locked together.

    Jarek

  • Loop through the objects on stage

    I know I did this kind of thing before, but I do not remember how... How to navigate through all the objects on a stage to verify their names for a specific substring. On my stage, I have a number of clips with names that end with _a_mc or _b_mc. I want to check for anything that has _a_mc I can change the image of this movieclip.

    Pipes for... loop must be convenient for that:
    for (var obj in _root) {}
    trace (obj + ":"+ _root [obj] ");
    }

    Welcome,
    blemmo

  • A loop in the entity instances

    Hello

    I have a piece of complex rule and I want to run on an entity and calculate total based on the date range.

    for example:
    I have two entities: 1 person 2. income of the person.

    Suppose, income of the person has below attributes:
    type of income
    amount of the income of the person
    start date for the income of the person
    end date for the income of the person

    Now, suppose we go back three months jan 2013, 2013 February and March 2013 with sart as starting point the date month and end as the end of the respective month.

    Also assume that there are three attributes to the level of someone like... (1.) the total income of the person for the months a, back total for two months, income total for three months.

    Now, I want to write a common rule that will calculate the total income of a person in a given month.

    I do not want to write three different rules for each month to calculate the total.

    I'm fine if I want to create new entities to achieve this goal.

    Is it possible that we can make a loop on an entity to calculate totals?

    Thank you
    Fox

    You should probably add an entity under the income. We could call it 'month of the income of the person' or something like that.

    Otherwise: what happens if you have more than three months? What happens if you have a person with an income for a few years?

  • View object instance read cache - from anywhere in the application?

    Hello. All,

    This seems to be a difficult question.

    I have a table of user information and have defined the subject entity and object view for him. I have also written a method reduceToOneUser which reduces the instance of the view object for that one line, based on user input.

    1. they are made, as in the flowchart on page of struts - config.xml, starting the flow by a loginDataPage, who passes to the dataAction_1.

    2 dataAction_1 called the reduceToOneUser, which effectively reduces the view to a single line object instance. dataAction_1 is transferred to the dataAction_2.

    3. now dataAction_2 is not just before a next node, but must send to one of SEVERAL nodes according to the values of the attributes in the instance of the view object.

    And the challenge is here. I know that the instance of the view object is there, the cache is there, but how to get the values of the attributes of the object instance in the cache of the view view when I'm in the DataAction java object? (I created the class of AuthenticationAction by double clicking on the authenticationDA icon in the page flow diagram.)


    < pre >

    package zb.view;
    to import java.util.Enumeration;
    to import javax.servlet.http.HttpServletRequest;
    Import oracle.adf.controller.struts.actions.DataAction;
    Import oracle.adf.controller.struts.actions.DataActionContext;
    Import zb.model.BillViewImpl;
    Import zb.model.ZBModuleImpl;

    SerializableAttribute public class AuthenticationAction extends DataAction
    {
    protected void findForward (DataActionContext actionContext) throws Exception
    {
    I can get the user entry OK:
    HttpServletRequest request = actionContext.getHttpServletRequest ();
    The ID of the string (String) = request.getParameter ("id");
    Chain pin (String) = request.getParameter ("pin");
    System.out.println ("ID:" + id + ", PIN:" + pin);

    Here the findForward ("toValidate") works fine and passes it to the page that the
    before toValidate points to. But in the logic of my profession, one of the attributes of the view object
    instance must meet certain conditions before the user is forwarded to this page. So I have
    need to get the attributes. - But how?
    actionContext.setActionForward (actionContext.getActionMapping () .findForward ("toValidate"));
    }
    }

    < / pre >


    I am a newbie. My approach here is appropriate? Is there a better way? It is very appreciated if someone can help out me. Thank you very much!




    Newman

    Newman,
    Now you have a configuration problem. I told you that the code comes from an earlier version of struts and may not work in your case.
    The good news is that google is your friend :-)

    This document gives an overview on your version adf data binding.

      protected void findForward(DataActionContext ctx) throws Exception {
        /*
         * "EmpService" is the name of the application module
         */
        EmpService svc = (EmpService)ctx.getBindingContext()
                                         .findDataControl("EmpServiceDataControl")
                                         .getDataProvider();
    
            // use the application module as you like ...
      }
    

    The code above show how to get the application module that is associated with a data control (from the doc above).

    Here are a few links: [link1 | http://forums.oracle.com/forums/thread.jspa?messageID=670290򣩒] and [Link2 | http://forums.oracle.com/forums/thread.jspa?messageID=719824򯯐]

    If you like some more try [this research | http://forums.oracle.com/forums/search.jspa?threadID=&q=%2Bdataaction+%2Bapplication+%2Bmodule&objID=f83&dateRange=all&userID=&numResults=15&rankBy=10001]

    Timo

  • OOP - how to pass variables between the branches of the object, but not instances of VI

    I have a main VI where a thread object goes through some subVIs initialization and then branches off into several parallel loops. My understanding is that each branch becomes a separate instance of the object. Data is passed between the loops using global variables, wrapped in the accessors (I can change this if someone has a better approach - reducing to a minimum the memory and the CPU usage is very important).

    I need to have a large number of instances of the main VI running at the same time. What would be the best way to ensure that the data transmitted between the loops of one instance of VI do not interfere with the data transmitted between the loops of another instance of VI?

    Thank you for your understanding.

    Ah, you're right. Stupid mistake on my part. It's all working now. The corrected code is attached.

  • create the object without the instance name

    Hello

    This is the problem, I have hero shoot bullets and because of that I can't give the objects an instance names and I want to check if the object on the stage or not and it's easy when

    I do var ball: BALL = new BULLET

    If {(bullet.stage)

    addChild (bullet)

    ...

    }

    but the problem only when I love it

    addChild (new BULLET())

    I know that flash to give a name, but how do I check their names?

    if(???. stade)

    Thank you

    Using a table simply to instantiate, then you can add to what you need.

    var balls: Array = new Array();

    Then, when you add a new bullet you can push in the table.

    Bullets.push (new BULLET());

    and if you need to go through them to test if they hit their target or if they should be deleted or whatever, you can loop through them, testing each during his turn in the loop.  If you would like to be removed it is usually better to go back across the table so that you do not skip any.  When you go forward through a table and remove items, the rest all shift down an index to fill the empty space, which means that it is possible to pass on a right after the one you deleted.

  • For the loop + shift register + multiply instances


    Save the Subvi as model.

    Opened using the switch (8 hex) returning so that it opens a new instance of each opening. Move the refs to your loop and use 'Call Server reference VI' to call the right instance for each iteration.

    But beeter would be to keep the table of cluster in a SR in the loop For, rather than the sub - VI and just pass in the State of the last time that the sub - VI has been called.

    Or another approach...

    Do some reading and the stuff of sub - VI in an instance of a model, one for each counter. They can push their updates to the queues so that others can see what they found.

    Ben

  • How to remove all the scripts on the instances of the object?

    I'm looking for one any solution here, not to mention disabling the setting warn.

    I hate it when I am converting someone to another project AS2 AS3 and buried on an instance on stage somewhere, that gives me the warning code:


    "The actions on the button or MovieClip instances are not supported in ActionScript 3.0." All the scripts on the instances of the object will be ignored. »

    How can i:
    Has) find what instances have code on them.
    or

    B) delete all of the code on all instances.

    Idea:
    Can I save as a different format/version/something and lose data in some way. Then I could convert back the current format of the FLA?

    use the movie in flash Explorer to search for actionscript.  whatever it is attached to an object must be removed.

  • Suggestions to remove a serialized instance of the object

    Hi guys,.

    My scenario is that I wrote a few cases of my class serializable for an outputstream and in a file.

    I am looking for some suggestions on how I could possibly remove instances of the file. I did some research on google
    but couldn't find anything. I don't know how to demarshall an object instance back into memory using an ObjectInputStream and the readObject
    method. But I don't have any idea how I could delete the instance of the data file, a fortiori if it is still possible.

    Any pointers in the right direction would be really appreciated.
    I not looking for the code, a few suggestions.

    Thank you very much
    B

    Published by: Boeing737 on October 14, 2010 13:00

    802563 wrote:
    Gotcha. So my final question is, if ObjectOutputStream simply adds an ArrayList to any ArrayLists moult existing so what could I do to overwrite the file.

    Close the stream, and open a new one.

    I'd read in the ArrayList, remove the file, recreate and then write the ArrayList.

    It depends on. If you still have the AL in memory, there is no need to re-read the file. And you don't need to explicitly delete the file. Just create a new OutputStream for her, without setting append to true, will delete the old one.

    OR, is there another class, I could watch that will allow me to overwrite the ArrayList in the file?

    No, there is no utility that I know. Even if there were, it would have to write the entire file in any case, unless you agree with it leaves the old version of the AL, and munging just header data so that it is ignored on read.

    Really, I think you're overloading it. :-)

  • Determine whether the instance of the object is of a specific object class.

    I was not able to find the answer in the documentation or in the forum. My terminology is perhaps a bit off (Java and c# background back to PL/SQL programming).

    The general question is: given an object instance how to determine if the type of the instance is of the same kind as a specific object class.

    In particular, I do a unit test and examine the returned object instance. The effective yield is described as follows

    -This data structure contains a pointer to an LDAP session
    SESSION OF SUBTYPE IS RAW (32);

    I expect an instance of DBMS_LDAP. SESSION. To confirm this, I propose that the returned pointer DEREF and see if it's a type of DBMS_LDAP. SESSION. When this is confirmed, then I can further the return of reference.

    Draft code is

    BEGIN
    IF DEREF ({RETURN$}) some_operator_which_compares_object_types DBMS_LDAP. SESSION
    THEN
    RETURN TRUE;
    ON THE OTHER
    RETURN FALSE;
    END IF;
    END;

    where some_operator_which_compares_object_types is what I need to know.

    Thank you for your help. And of course, the other way to do business and/or links to the correct location in the documentation are appreciated.

    Kind regards
    Bill

    I think you are looking for [IS OF | http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions014.htm] condition.

    SQL> create or replace type mytype as object(a number);
      2  /
    
    Tipo creato.
    
    SQL> declare
      2  x mytype := mytype(1);
      3  begin
      4  if x is of (mytype)  then
      5  dbms_output.put_line('OK');
      6  end if;
      7  end;
      8  /
    OK
    
    Procedura PL/SQL completata correttamente.
    

    Max
    [My Italian blog Oracle | http://oracleitalia.wordpress.com/2009/12/29/estrarre-i-dati-in-formato-xml-da-sql/]

  • instance in the objects variables retain values from instances created earlier

    It is insane to f - ing, and I want to cry.

    I have a class called Note, he receives a text, a clip is a textfield on the clip and the shows.

    Each instance can receive text as times and itll keep the text in a table, and when the time comes to show the note, it reorganizes online under the other text fields.

    the table that contains the text is an instance variable. Now, when I have 2 or more notes in the same film, the table for every instance RETAINS the text of the previous note! WTF.

    I don't in any time insert text notes the precedent in current rating, is the array of static text, these are the only two logical explanations, or variables of these two identical when notes are I create them in the film.

    Here is the code

    [CODE]
    creation of the first note on image 37 of the film
    var noteNote:Note is new Note (this, _root.movie, 650, 50);.
    noteNote.addText ("< b > values securities < /b > Source provides online access to the more popular Canadian and U.S. securities law materials - all in the same place - through one password.");
    noteNote.drawNote ();
    noteNote.show ();
    [/ CODE]

    [CODE]
    creation of the second note on image 73 of the film
    var noteNote2:Note = New Note (this, _root.movie, 650, note.y + note._height);
    noteNote2.addText ("as the official editor, Bulletin of the OSC of Thomson Carswell is available weekdays at noon each Friday and contains Insider full weekly (Chapter 7) report data directly from CD.");
    noteNote2.drawNote ();
    noteNote2.show ();
    [/ CODE]

    [CODE]
    public var Note: MovieClip;
    public var: film;
    public var x: Number;
    public var y: Number;
    public var parent: MovieClip;
    public var parentMovie:Movie;
    public var fadeDir:Number = 0;
    public var fadeSpeed:Number = 8;
    public static var width: Number = 260;
    private var text: Array = new Array(); IT IS THE TABLE FOR THE PRESENTATION OF TEXT
    public static var buffer: Number = 15;
    public static var color: Number = 0xf9de80;
    public var _height:Number;

    ...

    text should be a paragraph or a point
    If isPoint is not undefined it is assumed false
    public void addText(text:String,_isPoint:Boolean):Void
    {
    texts = new Array();
    isPoint = isPoint is undefined? false: true;
    Index number: var = texts.length;
    texts [index] = [];
    texts [index] [1] = isPoint;
    //
    var textParent:MovieClip = note.createEmptyMovieClip ("text_parent_" + note.getNextHighestDepth (), note.getNextHighestDepth ());
    var tf:TextField = note.createTextField ("text_" + note.getNextHighestDepth (), note.getNextHighestDepth (), buffer, 0, width - ((buffer * 2)), 1000);
    tf.wordWrap = true;
    TF. Multiline = true;
    tf.embedFonts = true;
    tf.setTextFormat (makeFormat (isPoint));
    TF. Background = true;
    tf.backgroundColor = 0xffffff;
    TF.html = true;
    TF.type = "dynamic";
    tf.htmlText = text;
    tf.autoSize = true;
    TF._visible = false;
    texts [index] [0] = tf;
    var f: Array = text;
    }
    [/ CODE]
    I updated f texts each time the text is added so I see the texts as a local in the debugger, this is how I discovered that table has always kept the text of the Note on the frame of 37 at the note on the frame of 73.

    I solved this by deleting the table until I use it first in a note, but it's always crazy, instance variables are maintaining the values of the previous instances.

    I would like to comment on what it might be.

    When you instantiate a table to her statement, she becomes static. Fixed some
    AS3, but in the meantime, you need to instantiate in the constructor (or
    Moreover).

    Note {} class

    private var text: Array;

    function Note()
    {
    This.texts = new Array();
    }

    }

  • Animate CC/Createjs properties of the clips/instances/bitmaps are null

    Hey!

    I was wondering how I can set/get properties (including the name property) of my items, on my scene. Whenever I get a null value on my properties. I have a passage of the mouse and you want to get the name of via stage.getObjectsUnderPoint(stage.mouseX,stage.mouseY).  And here, I get a null / undefined / whatever...

    I already tried exportRoot.myMovieClip.name, event.target.name or stage.getChildByName... Now I'm out of ideas, why I still can't set/get properties.

    To clarify:

    I have a Movieclip(called: mc_myMovieClip) and the instance is named ins_myInstance, already placed on the stage. Inside the MovieClip, I have a Bitmap with the instance of ins_myInstance. Although I put all the names in animate CC, after having exported them its not directly accessible. The images are exported in their own folder. No Spritesheet. When I try with stage.getObjectsUnderPoint(stage.mouseX,stage.mouseY) my console says:

    Bildschirmfoto 2016-02-23 um 12.06.17.png

    My final goal is to have 2 objects, where I check whether or not the names match. If it is not possible in this way, I have to do with hitareas... Something like that: Connections Drag - JSFiddle

    There is another topic of 2013 Toolkit for CreateJS after that export instance names are not available in .name property of objects , but it was not a solution for me, or I do not see this right now

    I hope it's a bit understandable. Thanks for asking! I hope that there is a way, or maybe it's a limitation of createjs?

    Thank you for the advice

    What? It is true that intellectual .name for movieclips by default to null, but has no bearing on the possibility of the objects named address. If you have a clip on the stage that you named "bob" and then something like (this.bob.x); console.log works very well.

    If for any reason, you need to extract an object is called when executing, then first name all your objects: this.bob.name = "bob"; works perfectly well. Change the JavaScript code that is published is a terrible solution, because then you must manually update each time something changes.

    Now, if you don't know advance which objects should be named, it is possible to do it automatically, thanks to the way in which CreateJS implements its data structures:

    First, each element (including the level of the root timeline) has a raw list of members/properties you can browse with a for... loop. This gets you the key names, but it gets you everything in the video. Dozens of irrelevant properties. Even if filter you by type - movieclips are represented internally in the form of a container of CreateJS object instances - not every container object is guaranteed to be a real child of the clip.

    Second, there is a range of children for each movieclip that stores a list of the children of all the clips, but it stores all by reference. No names.

    So, for complete names for children of all of the clip, we scanned raw properties from the clamp, then for each one found is a container object, analyze the table of children to see if it is also in this list. If this is the case, assign the value of the key as the name of the element. As follows:

    var i, key;
    var clip = this; // movieclip content to be processed
    var clipch = clip.children; // movieclip's children
    // iterate over every property name in the clip
    for (key in clip) {
        // is this a CreateJS container object?
        if (clip[key] instanceof createjs.Container) {
            // scan the clip's list of children
            for (i = 0; i < clipch.length; i++) {
                // are they both pointing to the same object?
                if (clip[key] === clipch[i]) {
                    // assign key value to "name" property
                    clip[key].name = key;
                    break;
                }
            }
        }
    }
    

    Voila.

  • The object Type VARRAY

    Hello

    I'm still very new to PL/SQL please bare with me if you can. I am trying to learn how to store the data of an object in a single varray of objects. My code below attempts to declare a type of object with instance attributes 3 and 3 methods of instance of getter and setter method.

    So, I want to create a varray type to store an array of types of objects 'employee '.

    Here I am trying to use a loop to retrieve the 10 first ename and empno, sal chronogram EMP table and store it in the variable array of 10 items.

    Finally, I tried to use another loop to produce the ename, empno and sal in the order opposite.

    My goal and my body of the object was created successfully without error.

    The problem starts when I start anonymous block that creates the varray is when I get an error at the end.

    At the end of my code is I get the error message. Can anyone suggest me what I am doing wrong, or what I can do to accomplish this task.

    SET SERVEROUTPUT ON

    -create object

    CREATE OR REPLACE TYPE used AS OBJECT)

    ename_obj VARCHAR2 (10),

    empno_obj number 4,

    sal_obj NUMBER (7.2).

    Getename RETURN of the FUNCTION MEMBER VARCHAR2.

    Getempno RETURN NUMBER of MEMBER FUNCTION

    FUNCTION RETURN NUMBER getsal MEMBER);

    /

    -create bodies of the object

    CREATE or REPLACE TYPE BODY used as

    FUNCTION MEMBER getename IS return VARCHAR2

    BEGIN

    RETURN ename_obj;

    END;

    FUNCTION MEMBER getempno IS return VARCHAR2

    BEGIN

    RETURN empno_obj;

    END;

    FUNCTION MEMBER getsal IS return VARCHAR2

    BEGIN

    RETURN sal_obj;

    END;

    END;

    /

    -create varray of object and start line 1 of the Error Message.

    1 > DECLARE

    2 > TYPE tvrEmploy IS the VARRAY (10) OF the employee;

    3 > vClient tvrEmploy;

    4 > iCounter integer: = 1;

    5 > CURSOR client_cursor IS

    6 > SELECT ename, sal

    7 > FROM emp

    8 > WHERE rownum < 11;

    9 > START

    10 > vClient: = tvrEmploy (null, null, null, null, null, null, null, null, null, null);

    11 > FOR i IN client_cursor LOOP

    12 > vClient (iCounter) .ename_obj: = i.ename;

    13 > vClient (iCounter) .empno_obj: = i.empno;

    14 > vClient (iCounter) .sal_obj: = i.sal;

    15 > iCounter: = iCounter + 1;

    16 > END of LOOP;

    17 > FOR I IN REVERSE 1.10 LOOP

    18 > dbms_output.put_line (to_char (I) |) » '|| vClient (I) .ename_obj | » '|| vClient (I) .empno_obj | » '||

    vClient (I) .sal_obj);

    19 > END of LOOP;

    20 > END;

    21 >.

    -"' '" Error message below -

    DECLARE

    *

    ERROR on line 1:

    ORA-06530: Reference to the composite uninitialized

    ORA-06512: at the level of line 12

    Thanks again for your time and patience.

    -Todd

    Hello

    The error occurs on line 12, the first time in the loop when you try to run:

    vClient (iCounter) .ename_obj: = i.ename;

    At that point, vClient (1) is not an Employee object. It has the value NULL.

    Try this:

    DECLARE
    TvrEmploy TYPE IS the VARRAY (10) OF the employee;
    vClient tvrEmploy;
    iCounter integer: = 1;

    CURSOR client_cursor IS
    SELECT ename, sal
    ,       empno                                                 -- ADDED
    FROM scott.emp
    WHERE rownum<>
    BEGIN
    vClient: = tvrEmploy (null, null, null, null, null, null, null, null, null, null);

    I'm IN client_cursor LOOP
    vClient (iCounter): employee = (i.ename, i.empno, i.sal);     --ALSO CHANGED
    iCounter: = iCounter + 1;
    END LOOP;

    FOR I IN REVERSE 1.10 LOOP
    dbms_output.put_line (to_char (I) |) » '|| vClient (I) .ename_obj | » '|| vClient (I) .empno_obj | » '||
    vClient (I) .sal_obj);
    END LOOP;
    END;
    /

  • public static function return an object instance

    create or replace
    Item_object OBJECT TYPE IS
    (item_title VARCHAR2 (60))
    , item_subtitle VARCHAR2 (60)
    FUNCTION CONSTRUCTOR item_object
    RETURN SELF AS RESULT
    FUNCTION CONSTRUCTOR item_object
    (item_title VARCHAR2, VARCHAR2 item_subtitle) RETURN SELF AS RESULT
    , Public STATIC FUNCTION get_item_object (item_id NUMBER) ITEM_OBJECT RETURN
    MEMBER RETURN VARCHAR2 to_string FUNCTION)
    CANNOT BE INSTANTIATED NOT FINAL;


    create or replace
    TYPE item_object BODY IS
    Item_object FUNCTION CONSTRUCTOR RETURN self AS RESULT IS
    point ITEM_OBJECT: = item_object ('generic Title', 'Generic subtitle');
    BEGIN
    me: = item;
    RETURN;
    END item_object;
    Item_object FUNCTION CONSTRUCTOR
    (item_title VARCHAR2, VARCHAR2 item_subtitle)
    RETURN SELF AS RESULT IS
    BEGIN
    Self.item_title: = item_title;
    Self.item_subtitle: = item_subtitle;
    RETURN;
    END item_object;
    * STATIC FUNCTION get_item_object (item_id NUMBER) RETURN ITEM_OBJECT IS
    point ITEM_OBJECT;
    CURSOR c (NUMBER item_id_in) IS
    SELECT item_title, item_subtitle FROM point WHERE item_id is item_id_in;
    BEGIN
    I'm IN c (item_id) LOOP
    agenda: = item_object (i.item_title, i.item_subtitle);
    END LOOP;
    RETURN of goods;
    END get_item_object; *
    FUNCTION MEMBER to_string RETURN VARCHAR2 IS
    BEGIN
    RETURN ' ['|] [Self.item_title |'] ['|| [Self.item_subtitle |'] " ;
    END to_string;
    END;

    Impossible to compile static function get_item_object, can anyone help me please?

    user6446424 wrote:
    all instances of the object, as all the rows in the table

    I think you misuderstand objects. Objects do not come from thin air - it must exist somewhere or should be constructed from the data. Your function constructs the table utem data object. If you have any item in the table, which should be used?

    SY.

Maybe you are looking for