What is the relation between main class and inner classes

hi
i want to make a UML design and o want to know how to draw the relation betwwen the main public class and inner classes?
and what is the relation?

BaffyOfDaffyA wrote:
Please keep in mind that if you spell better you will get better answers and if you add duke stars you will get better answers and if you mark the thread as a question you will get better answers. That will make it look like you are paying attention and that you really want an answer.
My best answer based on your rather vague question:
A minimal public class in a file named "Minimal.java" in the directory named "minimal":
package minimal;
public class Minimal {
private int variable;
public Minimal(int var) {
variable = var;
public int getVariable() {
return variable;
}This would be an example of adding an inner class:
package minimal;
public class Minimal {
private int variable;
public Minimal(int var) {
variable = var;
public int getVariable() {
return variable;
public class Inner {
private int innerVariable;
public Inner(int var) {
innerVariable = var;
public int getInnerVariable() {
return innerVariable;
}The inner class is exactly like any other inner class except if you are accessing it from anything else other than Minimal then you would have to add Minimal. right before Inner for example, where the Minimal class could use
Inner inner = new Inner(5);other classes would have to use
Minimal.Inner inner = new Minimal.Inner(5);
See [Inner Class Example|http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html] or [Nested Classes|http://java.sun.com/docs/books/tutorial/java/javaOO/nested.html] for more information.
He is probably not asking what an inner class is or how to declare one in raw source code. To me he is asking how do I
explain this relationship in a UML diagram and as UML is not and exact science and expression can vary a lot
between UML design applications I didn't want to stab in the dark.
@OP I would say whatever seems most logical to you and your team, write something that reads.

Similar Messages

  • What is the Relation Between S_PARTY.ROW_ID AND S_PARTY.PARTY_UID

    Hi,
    What is the Relation Between S_PARTY.ROW_ID AND S_PARTY.PARTY_UID

    Why do you need to know?
    From the configuration in Tools (for instance the fields of Business Component Contact) you can see that by default they have the same value.
    But if you import through EIM you can supply your own value for PARTY_UID.

  • What is the relation between adobe forms and web dynpro

    hi
    what is the relation between adobe forms and web dynpro

    Hi Jyothsna,
    Adobe forms are advanced to smartforms and scripts.
    Adobe forms are much easier than smartforms they are online forms.
    they can be developed online.
    Adobe forms : This is another SAP tool designed to create your own forms. The transaction for this is SFP.
    How to use them: You can create a sales order form in adobe form and send to the sales reps. Sales reps can fill this form when they are not connected to internet / SAP system. Once they connect to SAP just send an e-mail to a specific user id in outlook. You got to customize and code how do you want to process once you receive this form. This enables you to create orders even when you are not connected to the system. Hence no data loss. This is not how i used though :-). This is just my idea.
    What is the difference between Adobe forms and smart forms / scripts.
    Smart forms / scripts are used to show the data in SAP. Most likely you will use these to print / display some kind of reciepts / forms. Many companies must be using this for hard copies / ALE / EDI or to transfer data from SAP to others.
    Adobe forms are used to post data into SAP from SAP too.  So this has an additional feature compared to smartforms.
    Please check this link
    http://www.erpgenie.com/index.php?option=com_content&task=view&id=600&Itemid=77
    Web dynpro in one of the component in NETWEAVER.
    Web Dynpro is the SAP NetWeaver programming model for user interfaces and provides support when developing the Web representation of business applications. The Web Dynpro model is based on the Model View Controller paradigm, and has the following features that build on the classic dynpro model:
    ·        Clear separation of business logic and display logic
    ·        Uniform metamodel for all types of user interfaces
    ·        Execution on a number of client platforms.
    ·        Extensive platform independence of interfaces
    please check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Best regards,
    raam

  • What's the Relation Between General Ledger and Customer Balances Extractors

    Hi SAP Gurus,
                        Anybody explain the relationship between General_Ledger, Accounts_Payable and Accounts_Receivable Data Extractors ?

    Hi,
    Relationship in what sense?
    All are timestamp based delta datasources, with After image delta.
    *Settings for them are controlled centrally in same BWOM tables. http://help.sap.com/saphelp_bw33/helpdata/en/af/16533bbb15b762e10000000a114084/content.htm
    *In a way AP & AR data are subset of GL data (as documents are posted to GL accounts). In simple, all Document items with Vendor or Customer linked are fetched in AP & AR.
    But extractors pick the data from indexed BSIK/BSAK and BSID/BSAD tables respectively and not from BSEG table (GL Line Items).

  • What is the relation between req type and checking group

    Could any1 please explain me the link between requirement type and checking group?
    Also please throw some light on the other terms in ATP like requirement class and checking rule.
    Thanks in advance

    Dear VGR,
    The requirement type refers to the origin type, for example, goods receipt for purchase order (Type B) or goods issue to cost centers (Type K).
    The criterion that groups together all checking rules for all application areas for a material.
    In conjunction with the checking rule, the checking group defines the scope of the availability check for each business event, that is, which stocks, goods receipts, and goods issues are taken into account in the availability check, and whether replenishment lead time is checked.
    Checking rule
    A rule that defines how the availability check is performed.
    The checking rule, in conjunction with the checking group, determines the scope of the availability check for every business operation; that is, which stocks, receipts, and issues are included in the availability check and whether the check is performed with or without the replenishment lead time.
    I hope this will help you,
    Regards,
    Murali.

  • What is the Relation between System Tables and FND Table?

    Hi,
    I have two LOV's. First one is Module Name. Here I will select Module Name as GL, AP, AR.... In the second LOV it should populate all the API's available in the module. I tried with the following tablesFND_APPLICATION AND ALL_SOURCES. But there is no relation between these tables.
    Can anyone suggest me..
    Please help me out.
    Thanks in Advance,
    Sateesh

    Hi,
    I have two LOV's. First one is Module Name. Here I will select Module Name as GL, AP, AR.... In the second LOV it should populate all the API's available in the module. I tried with the following tablesFND_APPLICATION AND ALL_SOURCES. But there is no relation between these tables.
    Can anyone suggest me..
    Please help me out.
    Thanks in Advance,
    Sateesh

  • What's the differences between a singleton and a class with static methods

    Hi everybody.
    My question is in the subject. Perhaps "differences" is not the good word. The positive and negative points ?
    Imagine you have to write a connection pool, sure you gonna choose a singleton but why ?
    Thank you very much.

    A class is a class. Java doesn't have (and I wish it
    did) a static outer class. Any class can extend
    another class or implement an interface.A Class object cannot extend or implement anything - it is not under programmer control in any way. You can create a class which implements interfaces, but calling static methods is completely unrelated. Interfaces only affect instance methods, not class ones. I think all of your comparison to C++ is actually confusing you more. In Java, there is a real class object at runtime, as opposed to C++.
    YATArchivist makes a good point about being able to
    serialize, altho I've not met that desire in practice.
    Maybe a concrete example would help.
    mattbunch makes another point that I don't understand.
    A class can implement an interface whether it sticks
    its data in statics or in a dobject, so I guess I
    still don't get that one.See my comment above. Static methods are free from all contractual obligations.
    I prefer instance singletons to singleton classes because they are more flexible to change. For instance I created a thread pool singleton which worked by passing the instance around, but later I needed two thread pools so I made a slight modification to the class and poof! no more singleton and 99% of my code compiled cleanly against it.
    When possible, I prefer to hand the instance off from object to object rather than have everything call Singleton.instance() since it makes changes like I mentioned earlier more feasible.

  • What is the relation between photoshop cs4 and atkogl32.dll?

    Hi.
    Some times -not always- my photoshop cs4 Extended Edition, crash.
    However, if I disable OpenGl function, photoshop works perfectly.
    Of course: I have up to date the graphic card drives.
    Every crash, appears a magic word:atkogl32.dll.
    Uncle google says that atkogl32.dll is relating with Asus.
    Could you please help me?
    Thanks in advance.
    My graphic card: Asus EAX1650XT (256mb).
    MOBO: Asus P5W DH Deluxe.
    OS: Windows XP professional edition service pack 2.
    Processor: Core 2 duo E6320.
    Greetings from México.

    Hi, freeagent.
    Thanks for answering to me.
    Do you advice me to throw out all 3rd party plugins?
    Well... I only have 3: niksoftware color efex Pro, Viveza and Grain surgery.
    They work very good.
    Another option?
    I am sad...
    PS cs4 is an amazing program. It opens itself in 3.4 seconds.
    Of course: it is faster than cs2...
    Thanks in advance.

  • What's the relation between SESCrawlerExport index and UCM index?

    Does the SESCrawlerExport index feeds on changes from the UCM indexer?
    What happens if the UCM->Admin Applets->Repository Manager->Indexer->Automatic Update Cycle is disabled.
    Can the SESCrawlerExport index recollect changes?
    Thanks
    @

    you are right!
    Is there a threshold? The sql which ran above threshold can be captured?
    and I try that:
    1. there are three sql scripts (loop 10, 10000, 100000000)
    anmh@MYORACLE> select sql_id,sql_text,bind_data from v$sql where sql_text like '%count%a2%';
    8hxar1zmt4p24
    begin for i in 1..10 loop select count(*) into :cnt from a2; end loop; end;
    akmfy8m24dhvf
    begin for i in 1..10000 loop select count(*) into :cnt from a2; end loop; end;
    51ugvw2ajg75m
    begin for i in 1..100000000 loop select count(*) into :cnt from a2; end loop; end;
    2. check in dba_hist_sqltext:
    (1) loop 100000000 :
    anmh@MYORACLE> select sql_id from dba_hist_sqltext where sql_id='51ugvw2ajg75m';
    SQL_ID
    51ugvw2ajg75m
    (2) loop 10000 :
    anmh@MYORACLE> select sql_id from dba_hist_sqltext where sql_id='akmfy8m24dhvf';
    SQL_ID
    akmfy8m24dhvf
    (3) loop 10 :
    anmh@MYORACLE> select sql_id from dba_hist_sqltext where sql_id='8hxar1zmt4p24';
    no rows selected
    It prove that Hemant is right.

  • What's the relation between mobile components and device profile?

    We get the requirement to assigne Mobile components to device profiles.
    As a comparison for understanding, 
    R/3:    authorization is assigned to user profiles
    MI:      Mobile components are assigned to device profile.
    Am I right? If so, are mobile components basically predefined by SAP since
    security authorizations are basically  provided by SAP?
    Thanks!

    Hello jennifer,
    A Mobile Component is any part of Software which will be deployed and wich is running on a mobile device.
    This could be for example a Database, JVM, Mobile Client or of course a mobile application (developed or pre-packaged).
    A Device Profile is a kind of grouping mechanism which helps you to assign the Mobile Components to a large number of devices.
    For Example you create a Device Profile which includes the Mobile Components (DB,JVM, Mobile Client and your Mobile application ). You only need to create this Device Profile once and you can assign it do many devices.
    This helps you to administer your devices in a very efficient way.
    I hope this helps.
    Best Regards,
    Stefan

  • Urgent:What's the relation between WS-Reliability and WS-ReliableMessaging

    Thank you!

    Hi Justin,
    In the AFKO (type 30 for PM order), the fields AUFNT &  APLZT refer the assigned PS activity. This relation is not stored at PS activity (at least not in database), since multple PM orders can assigned to the same PS activity.
    A PS activity can NOT be a subitem of maintenace (PM) order, if in the database has such constellation, it is an error.
    Please reward, wenn the information is useful.
    Kind regards,
    Zhenbo

  • What is the relation between Smart Card and Java Programming?

    Kindly ingnore the message as this is just a test message by Mihir Mehta

    Nothing.....Pls ignore.....just testing the Forum

  • Technically, what's the relation between FlexUnit and FB?

    I'm running into many small but annoying issues when trying to do FlexUnit testing in Flash Builder 4, like:
    * FlexUnit is open source but I can't Cltr+click on things like assertEquals() to see what's going on there
    * I visit flexunit.org, click Docs and can't find assertThat() method at all while it's available in FB's code hints (and works)
    * We now have 2 documentation sets, one in the "Using Flash Builder 4" book, one on docs.flexunit.org. Some things are documented here, some others there.
    * API docs aren't even available from Adobe, are they?
    I wonder, what is the relation between FlexUnit itself and the developers working on it (Michael and Brian primarily?) and the support in Flex 4 / Flash Builder? I am not very happy with the current state which has nothing to do with FlexUnit itself (is a very nice testing framework), I just feel that a feature that ships in the quite expensive Premium edition should have a much better integration story.
    It looks like I'm ranting (and I am a little) but mainly I'd like to understand what's going on here.
    Thanks,
    Borek

    Borek:
    I understand your pain and I am sorry. Let me answer some of your questions and provide some answers and suggestions.
    Adobe decided to include FlexUnit 4 in Flash Builder 4, which was great. However, when it comes to the way in which they did so, the way in which libraries are linked and the way to plugin works, we (the FlexUnit team) are only able to provide suggestions. We have no control over the approach and little ability to influence the process.
    So, to be even more direct in my answer, there is no formal relationship between these two teams. What features Adobe chooses to support and the workflow/integration are purely business choices being made by Adobe. FlexUnit is purely a community project without funding or support from Adobe. It continues to evolve as we add new features and integrate contributions. Adobe may choose to increase the level of integration or to adopt newer versions as we proceed, but that is solely at their discretion.
    To that end, we cannot change the way the plugin works, etc. However, we will be posting information for users interested in updating their Flash Builder version with our latest code base (and addressing at least one of your issues) shortly as we prepare for our 4.1 beta.
    * FlexUnit is open source but I can't Cltr+click on things like assertEquals() to see what's going on there
    >>Adobe didn't include the code for FlexUnit in builder, only the library. You can control-click on Flex classes because they shipped both the lib and code. If you do want this functionality, you can download our code, go into the build path/library path of the project, find the place where they link in the flexunit-core libraries and edit the source attachment. That will allow the control-click to work, etc. The code that shipped with Flash Builder is tagged as 4.0.0 in github.
    * I visit flexunit.org, click Docs and can't find assertThat() method at all while it's available in FB's code hints (and works)
    >>I will try to find out why this is not showing up and get it fixed promptly. FYI, the assertThat method is just a wrapper for the org.hamcrest.assertThat from the hamcrest library. For more info and code: http://github.com/drewbourne/hamcrest-as3
    * We now have 2 documentation sets, one in the "Using Flash Builder 4" book, one on docs.flexunit.org. Some things are documented here, some others there.
    >>I don't know what is in the "Using Flash Builder 4" book...if you can point me to a link I will check it out. I have no idea what is there (nor who wrote it) The official documentation site is docs.flexunit.org. It is the only one being maintained/added to by those involved with the project.
    * API docs aren't even available from Adobe, are they?
    >>I doubt it. They don't maintain this material and they don't include it.
    Sorry if this is less than helpful, but I wanted to at least provide you some answers and context.
    Mike

  • What is the relation between PO -- Confirmation -- Invoice

    Dear Experts,
    What is the relation between PO, Confirmation and Invoice?
    I mean if I want to check for particular PO, confirmation and invoice is done or not, what table and fields to check ?
    Thanks a lot,
    Anubhav

    Hi
    You need to check in EKBE for invoice, for confirmation
    Go to EKBE table for GR document and get the field ETENS (Sequential number of vendor confirmation).
    Go to EKES table and select the record based on EBELN, EBELP and ETENS to get the corresponding delivery number
    and you get in EKET as well.
    regards
    Antony

  • What is the relation between delivery num , sales order num and invoice

    what is the relation between delivery num , sales order num and invoice

    Look at VBFA Table
    goto VBFA table ,enter order number number vbelv ,vbtyp_n is C,then VBELN is the delivery
    if you enter delivery number in vbelv ,vbtyp_n is J,then vbeln is Invoice.
    here VBTYP_N is the import.
    VBFA is the sales document flow table,and very important table
    Thanks
    seshu

Maybe you are looking for

  • Chart alert problem in BO 4.0

    Dear Experts We previously used BO XI 3.1 Edge series, Service pack 2. In this server we have develop some of the reports use alerts in line chart (Vertical Mixed Chart). Now we migrate our server to BO 4.0 Service Pack 2. After migration complete we

  • Itunes wont recongize my ipod when i plug it into my computer

    im trying to put my ipod back to manufactured settings so i can sell it, but when i plug it into the computer, it wont recognize it in iTunes. what do i do?

  • Price Control Date as GR Date in Purchase Order?

    Hello Friends. We have a requirement where we need to take the price at the time of GR. I have tried to set the Price control date as GR date (5) in Purchase order, Info Record and even in Vendor Master. Unfortunately, it is always taking the price a

  • Not able to connect wifi from personal hotspot

    When switch "on" Personal Hotspot on my ipad mini wifi + cellular, I'm not able to connect wifi from my iphone even from other devices. Please advice!!

  • Printing to specific coordinates

    Is there any java methond that allows you to print a string to specific coordinates (row, column)in console mode? I have looked at System.out.println and System.out.print methods but did not see an option for this.