Protected members not protected?

I thought a protected member could only be accessed by the implementing class or an extension of it. Yet I have been able to set these variables inside another class. Is their something wrong with my JVM???
1.4.1_05
public class ComponentModel extends ContainerModel implements IComponentModel{
    private static final long serialVersionUID = 1;   
    public static final ModelType TYPE = ModelType.getType("LogicComponentModel");
    protected transient PropertyChangeListener pcl = new LCMPropertyChangeListener();
    //transients are assigned in contructors and clone and serialization methods
    //for consistency.
    protected transient Point m_offset;
    protected transient Rectangle m_sizeRect;
public final class WADComponentModel implements IComponentModel {
    public IBaseModel getCopy(){
        ComponentModel lcm = (ComponentModel)new ModelFactory(ComponentModel.TYPE).getNewObject();
        for(Iterator it = getChildren().iterator();it.hasNext();){
            IBaseModel model = (IBaseModel)it.next();
            model.setComponent(lcm);
            model.addPropertyChangeListener(lcm.pcl); //???
        lcm.m_offset = new Point(m_offset); //???
        lcm.m_sizeRect = new Rectangle(m_sizeRect);  //???
        return lcm;
}why am I able to set m_offset and m_sizeRect directly like this? Why am I able to access lcm.pcl directly???
Surely I have forgotten some simply Java principle. Or my Eclipse environment is somehow hosed.

As an above poster mentioned, if you scroll up it is described more clearly. I will post it though.
A member (class, interface, field, or method) of a reference (class, interface, or array) type or a constructor of a class type is accessible only if the type is accessible and the member or constructor is declared to permit access:
If the member or constructor is declared public, then access is permitted. All members of interfaces are implicitly public.
Otherwise, if the member or constructor is declared protected, then access is permitted only when one of the following is true:
Access to the member or constructor occurs from within the package containing the class in which the protected member or constructor is declared.
Access is correct as described in ?6.6.2.

Similar Messages

  • Workspace error 5200:members not in same generation

    Hi,
    This is for 9.2.03 Hyperion workspace.
    A user was getting 5200 error : members not in same generation. I went in the File>Preferences, and turned ON the user POV. The user is still getting the 5200 error, but this time it says : Period and Dec are not in same generation. Its looks like somehow Dec is locked in the POV and even if user selects the whole period, he gets this error.
    Please suggest.
    Thanks!
    Mehnaaz

    Hi Don,
    The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
    Does it mean that there is a problem in the connectivity?
    I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a  third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
    Is there any fix which can applied to the server to get this issue resolved?
    Cheers
    Nithya.

  • Currency members not displayed on Essbase

    Environment:* EPMA version 11.1.2.1
    As part of multicurrency, we have added the two members EUR and USD in *‘Currency’* dimension to perform currency conversion and then re-deploy application. Deployment has done successful without any error. But members not displayed in Essbase as expected.
    We have setup default application currency and reporting currency as GBP.
    Currency Dimension hierarchy in EPMA (Before Deployment)_
    Local
    GBP
    EUR
    USD
    Currency and HSP_RATES hierarchy in Essbase (After Deployment)
    Currency Dimension*
    Local
    GBP
    Actual Problem:_ Missing EUR and USD member in Essbase
    HSP_Rates
    HSP_InputValue
    HSP_InputCurrency
    HSP_Rate_GBP
    HSP_Rate_EUR
    HSP_Rate_USD
    Now you can see EUR and USD member not dislayed as expected in Essbase. Can anyone help in guiding or resolving the issue?
    Thanks in Advance

    1.     Yes. Outline created, we have used the option Refresh and Full Deploy
    2.     Not having access to server. But if you particular log file then let me know the name. I will try to arrange the log file.
    3.     I have added two new member RUB and CAD. But problem remain same, these member not displayed under currency dimension. But it will displayed successfully under HSP_Rates with names ‘HSP_Rate_RUB’ and HSP_Rate_CAD’. It means functionality working fine, but not displaying member. If it won’t display then I can’t create currency conversion script.
    4.     Successfully deployed, no error messages

  • 'Allow Duplicate Members' not compatible with Attribute  Dimensions

    When setting the 'Allow Duplicate Members' option on there is a problem if the duplicate member is used as an Attribute. When attempting to apply the member filter to use the attribute Essbase throws an error: Cannot uniquely identify a member, the name [L] is duplicated.
    In my case L is duplicated across two dimensions [L=LOCAL as a BOOK_CODE and L=LIABILITY as an ACCOUNT_TYPE].
    The ACCOUNT_TYPE is an attribute dimension related to the ACCOUNTS dimension. Both the excel addin and Financial Reports have a problem as their member selection interfaces don't fully qualify the selection.
    This seems like a bug.

    When you sync over the cable, it is one set of calendars in one section labeled "From My Mac"  when you sync with iCloud, that is store in a completely separate area labeled "iCloud."  The "From My Mac" calendars are stored on the phone as just "regular" calendars.  The iCloud account are "CalDav" calendars, which syncs with iCloud.  The old mobileme calendars did do what you wanted, sync over the cable and then to mobileme, and that lead to huge data corruption and why Apple made the new mobileme calendars which sync over CalDav only (and cannot talk to the cable) to protect the calendars.  The phone sees them as two separate calendars.
    Your best bet is if you want to use calendars on your G4 is to just use the iCloud.com web interface.  I'm also not familiar with the whole drop box thing, so I can't comment on that.

  • Essbase members not picking up data values

    Gurus,
    I have some members in my JOB CODE hierarchies, such as 100, 200, 300 ETC.
    Now I have added 100A, 200A, etc to the hierarchy. 100A is the sibling of 100, 200A is the sibling of 200, so forth.
    Now, 100A, 200A, etc (the ones with the alphabet A is not picking up the values/percentages, while doing a pushdown.
    Is it because of the ALPHANUMERIC member names?
    Essbase allows such names right? or Do I need to change any setting/properties, etc like that?
    Thanks

    the answer is it depends. It is not Essbase itself that would not allow those member names as all member names are really text even if they look numeric.  The problem could be in your script to "Push down" data. it could be doing some match based on UDA or member format. without seeing the pushdown script, I can't determine what could be your issue. It could even be a block creation issue, but who knows.

  • Other members not responding when a clustered member is not reachable

    We have an product that uses Coherence 3.3 we have cluster 5 members.
    We are finding that if for whatever reason a cluster member is down or unresponsive (eg doing a garbage collection) the other members are then trying to do some work to compensate, which leaves them not responding to requests. The nodes have been configured in a unicast mode so each node has been specified in the configuration.
    Examples we've seen:
    1) member 3 does a stop the world gc all other members pause - we see the following in the logs on all other members
    2009-12-31 00:20:18.291 Oracle Coherence EE 3.3/387 <Warning> (thread=PacketPublisher, member=6): Experienced a 1982 ms communication delay (probable remote GC) with Member(Id=1, Timestamp=2009-12-30 16:01:26.85, Address=172.29.4.16:8090, MachineId=46352, Location=process:27758@and-msg4); 30 packets rescheduled, PauseRate=0.0030, Threshold=901
    In this instance we had a pause of 19 seconds.
    Can we configure the nodes to not wait if communication to member is not possible. How?
    2) Take a single node down during the day (off peak hours) The other members start logging a lot of coherence debugging which I've been told not to worry about, but during this period the applicatiokn is not processing requests and causes timeout to the calling servers.
    When a member is removed from the cluster what are the other nodes doing (redistributing cache?)? How can we minimise the fallout from this so that we can handle this more gracefully.
    I would be grateful for any help and any useful links to documentation. It may well be that our configuration is incorrect as we leave most things as the default values. I could do with some pointers on where to start looking and which parameters to tweak as there seem to be quite a few.
    Regards
    Fez
    What can we do to minimise this?
    Edited by: user12406699 on 04-Jan-2010 07:31

    Hi there thank you for the suggestions.
    1) I understand that the pause during the gc will be helped by ensuring they are as short as possible. I have tinkered with the CMS parameters and I think our old was becoming very fragmented and therefore hitting the point where a stop the world occurred. I have limited the number of threads and increased the heap space. After a couple of days we are seeing that the concurrent garbage collector is doing work more frequently but with no stop the worlds. So I think issue 1 has will be resolved by this.
    2) This issue still exists. When we stop tomcat server for one of the nodes we see a pause and lots of debug messages from coherence during this time the other node are no longer processing requests as we can see the number of running requests increase and the time to respond increases as well across the node. Because of the amount of traffic we are recieving our clients soon timeout.
    Going over the sugestions
    a) graceful shutdown of the cluster node
    How? Currently we stop traffic being driven to the node and then stop tomcat. Is there a way to also gracefully stop node being apart of the cluster??
    b) Set <timeout-milliseconds>
    I don't quite understand the documentation for this setting
    "Default value is 60000.
    Note: For production use, the recommended value is the greater of 60000 and two times the maximum expected full GC duration."
    So we will be currently using the default. To me 60 seconds sounds very high for a production timeout which makes me think that this is not what I had in mind. Is there anything in the configuartion that may help?
    Regards
    Fez

  • Project Lite License for Team Members not giving access to the PWA

     Hi there - So here is my issue I am having with Project Online 2013. I am new to project server ( I mean project online) & really having fun with it but MSFT can make it a bit easier to the Users.
    So we brought the following 2 licenses
    1) Project Lite for Team Members ( Brought this license after getting answer from previous question posted by me at  Previous
    thread )
    2) Project Online with Project Pro for Office 365.
    So I am able to access the PWA for my Portfolio Managers, Project Managers etc., Now I tried giving access to the Team Members and as directed by MSFT I added them to the group "Team Members for Project Web App ".
    I created some tasks in project schedule and assigned the tasks to the Team Members and published them.
    Now when My Team Members try too access the PWA Site , they are not able to access it.
     1 ) When trying to access the   ( http://tenant.sharepoint.com/PWA/Default.aspx)   which is the home page  I am seeing a webpart error with correlation ID.
     2) When trying to access the  Task through (http://tenant.sharepoint.com/PWA/Tasks.aspx ) where you see the tasks, the page gives me " Sorry you don't have access to this page"
    So now my question is how do I give access to my Team Members so that they can work on the tasks assigned to them in the PWA. 
    Any help is highly appreciated.

    SP2013Dev,
    You need to Share the PWA with the team members to give them access. Please refer to my blog here. Hope this helps.
    http://www.prasannaadavi.com/2014/05/project-litetrial-my-experience-and.html
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Unknown members not displayed during lock and send

    Hi We are on 11.1.2
    A user is using lock & Send to update approx 3000 rows of data. The issue is, some members do not exist in outline any more.
    so Display unknown members is Ticked ON in Global properties to make it easy to find the unknown members, but its not displaying any unknown members.
    Thanks

    How about the "Display Messages"? Is it set to None? It'll not show unknown members if display messages is set to none.
    Regards
    Celvin

  • Parent members not being updated when running AGG

    I have a scenario where eventhough the bottom level members change the parent members are not being updated when we run an agg
    For example if the bottom level member was 150 and we run the aggregate the numbers are fine. If the bottom level member was changed to #Missing then the parent members are not updated when we run the agg
    IN the script below we use CALC DIM(COstCenters,SpaceTYpe)
    My concern is the setting SET FRMLBOTTOMUP ON i use, because it looks like it's skipping that block. HOw can work around this issue without affecting the performance too much. For example using SET CREATEONMISSINGBLK ON might help, but will have a performance impact
    Here are the details of the script
    SET MSG SUMMARY;
    SET FRMLBOTTOMUP ON;
    SET CALCPARALLEL 4;
    FIX("Budget","Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",@IDESCENDANTS("$1"),@LEVMBRS
    (SpaceType,0),@LEVMBRS(CostCenters,0))
    CALC DIM (ManagedBU,AllocatedBU);
    ENDFIX
    FIX("Budget", "Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",AllocatedBU,ManagedBU,
    @LEVMBRS(SpaceType,0),@LEVMBRS(CostCenters,0))
    "$1";
    ENDFIX
    /* Aggregating numbers for the report so it could be viewed n a top cost center level */
    FIX("Budget", "Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",@IDESCENDANTS(AllocatedBU),@iDESCENDANTS(ManagedBU),@IDESCENDANTS("$1")
    CALC DIM(COstCenters,SpaceTYpe);
    ENDFIX
    /* Aggregating numbers for the report so it could be viewed in a top regional level*/
    FIX("Budget", "Version1", "FY2011", "RSF","No_Period","M3","M6","M9","M12",@IDESCENDANTS(ManagedBU),@IDESCENDANTS(AllocatedBU),@IDESCENDANTS(SpaceType),CostCenters)
    @IANCESTORS("$1");
    ENDFIX

    yes Aggmissg will work with from bottom up. As for performance, believe it or not, having Aggmssg on is quicker that off. That is because when off, it has to look at the children blocks to determine if there are data values present that need to overwrite the parent value where hen it is on, it does not look it just does it.

  • Aliases of Members not getting retrieved

    Hello all
         I want to retrieve members from an Essbase Database/outline of my application with their Aliases(want to retrieve only Aliases), I've used Smart View API for VBA to achieve the same, but somehow Aliases are not getting retrieved instead member names are getting retrieved, also I want to achieve this by replacing the below Essbase add-in function
         aryMarket = EssVGetMemberInfo(Null, "Member_Name", 1, True)
         I've used following Smart View function to replace above mentioned function
         aryMarket = HypQueryMembers(Empty, "Member_Name", HYP_SEARCH, HYP_ALIASESONLY, Null, "", "", vt)
    can some one provide me the correct combinations of the parameters that I should be providing?

    The HYP_ALIASESONLY setting in HypQueryMembers means that you are trying to search on the alias, not trying to retrieve the alias (that call can bring back more than one member matching the search term).  You probably (I didn't check for certain) have to use HypGetMemberInformation instead.

  • EPMA Shared Members not reflecting in Planning application post deployment

    Hi,
    I have added a member in 'Entity' dimnesion. The same member is also added in an alternate hiererchy as shared member (Using Insert member option in dimension library). When I refresh the application view, I do see both the original member and shared member in application vieiw. But post deployment, only the base member is reflected in planning application and not the shared member.
    I have redeployed the application multiple times now, but i am still not able to see the shared members reflected in Planning application.
    Kindly let me know if you have any idea on the same or faced a similar issue?
    Regards
    Meenal

    Hi,
    Have you patched up EPMA with patches from Metalink3
    9.3.1.1 Patch includes -
    6897835 SHARED MEMBERS IN ENTITY DIMENSION CAN NOT BE DEPLOYED TO ASO/BSO APPS
    It is advisable to keep a look out for patch fixes with EPMA
    Hope this helps
    John
    http://john-goodwin.blogspot.com/

  • Aliases on Shared Members not in Essbase

    <p>I used HAL to create alternate rollups using shared members inmy Accounts dimension and in a custom dimension (Customers). The aliases for the shared members appear in Planning, butafter refreshing Essbase, the aliases are not in Essbase; only themember names.  When I add a shared member manually inPlanning, the alias is populated in Essbase.  Does anyone havean idea of how to get the aliases in Essbase?</p>

    <p>I realize that the alias will display when reporting on it. The reason it came up is because you can't see the alias whenperforming a member selection.  It's an inconvenience, not ashow stopper.  I just thought it was strange that the aliaswould go into Essbase when the shared member was added manually,but not when added using HAL.  Seems like a bug to me.</p>

  • Unknown Members not identified

    Has anyone ran into a problem when you do a lock and send to essbase and you have the "Display Unknown members" turn ed on. We are running 6.5.3. We do get an error message but it does not identify the unknown members. The error message we get is "Spreadsheet Extractor internal error: invalid spreadsheet table."

    Make a copy of the file and try retrieving into the sheet. That should identify the unknown members for you.Tim

  • Receive texts from some group members, not all group members

    Hello!
    I have an iPhone 5S and recently purchased an iMac. iMac is on OSX Yosemite and iPhone is on iOS 8.1.2
    Recently I have been involved in a few group SMS text chains and I am receiving texts from some of the group members but not all of them. I can receive texts individually from everyone in the group.
    I was recently playing around with iMessage on my new iMac and feel like I may have done something in the setup that caused this issue.
    Anyone know what's going on? I reset network settings on my phone and closed out iMessage on my computer (I also signed out of iMessage completely)

    If iMessage is turned off on both devices and you are still unable to receive their texts, it is a carrier issue, the carrier will need to resolve it.
    If iMessage is turned on on both devices and you are unable to receive their texts, it's an iMessage setup issue.

  • Access on Shared Members not working in reports

    In our entity dimensions, we have all of our base members listed in under a parent folder, with permission assigned to each base member to allow access (not at the folder level).
    We then have another parent folder which includes Regions, and then the base members are included under the appropriate region as a shared members. On the Region folders, we have iDescendants access setup for all the shared members.
    When running reports, if a user who has access to the Region folders selects the Region folder, then they can see a consolidated report for all the shared members, but if they click on a specific shared member, they cannot see any numbers.
    It looks like those shared members are not inheriting permissions from the parent folder. This was working before, and recently stopped.
    Does anyone know what needs to be done to get the permission to start inheriting from the parent folder to the shared members?

    Did a Refresh on Shared Members from Planning > Administration > Manage Database and this solved this issue.

Maybe you are looking for

  • Tax Calculation on Base amount in FB60

    Dear All, My client wants to calculate tax on base amount in FB60, he receives invoice from vendor with 6 items(i.e., 6 different types of expenses gl) and in that invoice he get the total tax amount not individual tax amount, here is the example : i

  • How can I prevent Firefox Sync from syncing home page?

    I use different home pages at work and at home and I would like to prevent the home page from syncing.

  • Itunes wont play imported music

    Hi, itunes on my Mac will not play my imported music. It was running fine untill I upgraded to 10.5.3 can anyone help please? When I try to play this message appears The song "  " could not be used because the original file could not be found. Would

  • BW CRM Integration

    Hi All, Please let me know if anybody is having any document related to BW-CRM Integration. Thanks a lot. Regards, Sanjay

  • Nikon D3s import problems

    Trying to import NEF files from a Nikon D3s but only get error messages in LR 2.5. JPEG works fine. Any way around the problem or do I have to wait for a upgrade? Michael Fränneby